RE: Non-exhaustive patterns in basicTypes/Var.lhs

We can't reproduce this at all. What version of GHC are you using? Can you show a complete script? Simon | -----Original Message----- | From: glasgow-haskell-users-bounces@haskell.org [mailto:glasgow-haskell-users- | bounces@haskell.org] On Behalf Of Peter Simons | Sent: 18 January 2004 19:54 | To: glasgow-haskell-users@haskell.org | Subject: Non-exhaustive patterns in basicTypes/Var.lhs | | 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) (return 'x') | | *** Exception: basicTypes/Var.lhs:226:32-58: Non-exhaustive | | patterns in record update | | Peter | | _______________________________________________ | Glasgow-haskell-users mailing list | Glasgow-haskell-users@haskell.org | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
participants (1)
-
Simon Peyton-Jones