Re: Talking with the compiler

2004-01-18 Thread Ketil Malde
[EMAIL PROTECTED] (Hans Nikolaus Beck) writes: in order to build a programming environement, it would be nice to ask the GHC about symbols etc found in a given Haskell program. I suppose a programming environment could talk to GHCi (which provides commands like :type, :info, :browse to explore

Re: Talking with the compiler

2004-01-18 Thread Hans Nikolaus Beck
Hi, Am 18.01.2004 um 11:31 schrieb Ketil Malde: [EMAIL PROTECTED] (Hans Nikolaus Beck) writes: in order to build a programming environement, it would be nice to ask the GHC about symbols etc found in a given Haskell program. I suppose a programming environment could talk to GHCi (which provides

Non-exhaustive patterns in basicTypes/Var.lhs

2004-01-18 Thread Peter Simons
QuickCheck's 'generate' function works fine in GHCi, but only for the _first_ time I call it. After that, I get an error: | Ok, modules loaded: Main. | *Main generate 3 (mkStdGen 28) (return 'x') | Loading package QuickCheck ... linking ... done. | 'x' | | *Main generate 3 (mkStdGen 28)