This won't happen in 5.03 because of its better treatment of rank-N types.
Simon | -----Original Message----- | From: Keith Wansbrough [mailto:[EMAIL PROTECTED]] | Sent: 08 March 2002 16:13 | To: [EMAIL PROTECTED] | Subject: GHC 5.02.2: ghci type-reporting "error" | | | I get the following error when asking for the type of `build' | in ghci, | 5.02.2. This still happens, with or without -fglasgow-exts. | | astrocyte:compiler$ ghci | ___ ___ _ | / _ \ /\ /\/ __(_) | / /_\// /_/ / / | | GHC Interactive, version 5.02.2, | for Haskell | 98. | / /_\\/ __ / /___| | http://www.haskell.org/ghc/ | \____/\/ /_/\____/|_| Type :? for help. | | Loading package std ... linking ... done. | Prelude> :t PrelBase.build | | Illegal use of `PrelBase.build' | It is applied to too few arguments | so that the result type has for-alls in it: (forall b. | (a -> b -> | b) -> b -> | b) | -> [a] | Prelude> | | --KW 8-) | -- | Keith Wansbrough <[EMAIL PROTECTED]> | http://www.cl.cam.ac.uk/users/kw217/ | University of Cambridge | Computer Laboratory. | | _______________________________________________ | Glasgow-haskell-bugs mailing list | [EMAIL PROTECTED] | http://www.haskell.org/mailman/listinfo/glasgow-| haskell-bugs | _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
