ghci-5.00: the `impossible' happened
Manuel M. T. Chakravarty
chak at cse.unsw.edu.au
Wed May 9 23:09:53 EDT 2001
Armin Groesslinger <groessli at fmi.uni-passau.de> wrote,
> -----------------------
> module Main where
>
> import CForeign
>
> foreign import "puts" puts :: CString -> IO ()
>
> main :: IO ()
> main = return ()
> -----------------------
>
> to ghci-5.00 (with ghci -package lang -fglasgow-exts Main.hs
> on x86/Linux) gives the following error:
>
> Compiling Main ( Main.hs, interpreted )
> ghc-5.00: panic! (the `impossible' happened, GHC version 5.00):
> bytecode generator can't handle unboxed tuples
The interpreter does not support foreign declarations yet.
You can only use them with the batch compiler.
Manuel
More information about the Glasgow-haskell-bugs
mailing list