[Haskell-cafe] Re: Lambdabot

Stefan O'Rear stefanor at cox.net
Sat Jun 23 10:56:38 EDT 2007


On Sat, Jun 23, 2007 at 01:48:37PM +0200, Daniel Fischer wrote:
> Am Freitag, 22. Juni 2007 22:43 schrieb Stefan O'Rear:
> > On Fri, Jun 22, 2007 at 10:37:55PM +0200, Daniel Fischer wrote:
> > > I can partially answer my questions.
> > > Removing also Seen does away with the ByteString.index error.
> > > Must check the code to see why.
> > >
> > > Two more concrete questions
> > > a) how do I gracefully leave lambdabot?
> > > ctrl-C or killing it from another shell are the only ways out I found so
> > > far.
> >
> > "quit"
> 
> Well, that's something obvious to try, of course I did:
> $ ./lambdabot
> Initialising plugins ................................................ done.
> lambdabot> quit
> 
> Quit
> 
> So it seems my lambdabot is not only partial, but actually broken :-(

Oh... sorry.  @quit only works on IRC connections; you would need ^D (to
a 1st approximation, the unix end-of-file control character) here.

(I wrote this section of code and I misremembered it badly enough to
give wrong advice... *shdder*)

Stefan


More information about the Haskell-Cafe mailing list