GHC 5.02.2: ghci type-reporting "error"
Keith Wansbrough
Keith.Wansbrough at cl.cam.ac.uk
Fri Mar 8 11:13:14 EST 2002
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 <kw217 at cl.cam.ac.uk>
http://www.cl.cam.ac.uk/users/kw217/
University of Cambridge Computer Laboratory.
More information about the Glasgow-haskell-bugs
mailing list