[Haskell-cafe] Getting lambdabot to work with 6.6.1

2007-07-17 Thread Vincenz Syntactically

Dear,

After a suggestion from quicksilver, I decided to write this message.  To
get lambdabot working on 6.6.1 you need to:
1) ensure you have the regexp-base, regexp-compat and regexp-posix from
hackage installed
2) If you install them from user, make sure to add --user in the
build-script of lambdabot
3) Get hs-plugins from darcs
http://www.cse.unsw.edu.au/~dons/code/hs-plugins/, not from hackage (Lemmih
informed it's an issue with the .hi parser)
4) Fix Lib/Parser.hs and replace  606 with = 606 in the #if
GLASSGOW_HASKELL around the definition of pling_name and co
5) Remove the Maybe-definition of arbitrary in scripts/ShowQ.hs
6) Make sure to uncomment the runplugs section in lambdabot.cabal
7) ...
8) Profit

Cheers
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Getting lambdabot to work with 6.6.1

2007-07-17 Thread Shachaf Ben-Kiki

I also commented out arrows as a dependency in the .cabal, I think.
Was that not a good idea? it seemed to work.

   Shachaf
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Getting lambdabot to work with 6.6.1

2007-07-17 Thread Donald Bruce Stewart
syntactically.vincenz:
 
Dear,
After a suggestion from quicksilver, I decided to write this
message.  To get lambdabot working on 6.6.1 you need to:
1) ensure you have the regexp-base, regexp-compat and
regexp-posix from hackage installed

The .cabal file now enforces this.

2) If you install them from user, make sure to add --user in
the build-script of lambdabot
3) Get hs-plugins from darcs
[1]http://www.cse.unsw.edu.au/~dons/code/hs-plugins/ , not
from hackage (Lemmih informed it's an issue with the .hi
parser)

quite so.

4) Fix Lib/Parser.hs and replace  606 with = 606 in
the #if GLASSGOW_HASKELL around the definition of
pling_name and co

Send a patch.

5) Remove the Maybe-definition of arbitrary in
scripts/ShowQ.hs

Oh, that's changed in QuickCheck (yet another API change in 6.6.1!).
Send a cpp patch.

6) Make sure to uncomment the runplugs section in
lambdabot.cabal

User the lambdabot.cabal.plugins file.

7) ...
8) Profit
Cheers

Good.

-- Don
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Getting lambdabot to work with 6.6.1

2007-07-17 Thread Donald Bruce Stewart
shachaf:
 I also commented out arrows as a dependency in the .cabal, I think.
 Was that not a good idea? it seemed to work.
 

You just won't be able to use arrows transformers and other fun things
in @eval.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe