GHC.Prim
Ralf Hinze
ralf at informatik.uni-bonn.de
Tue Jul 2 05:50:22 EDT 2002
Hi,
ghci does not find GHC.Prim, but ghc does:
::::::::::::::
A.lhs
::::::::::::::
> module A
> where
> import GHC.Prim
> a# i# j# = i# +# j#
ralf/tmp> ghc -c -fglasgow-exts A.lhs
ralf/tmp> ghci -fglasgow-exts A.lhs
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 5.03.20020410, for Haskell
98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.
Loading package base ... linking ... done.
Loading package haskell98 ... linking ... done.
can't find module `GHC.Prim'
Cheers, Ralf
More information about the Glasgow-haskell-bugs
mailing list