RE: ghci-5.00: the `impossible' happened
| 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. True. Note that you can still have an interactive session with sources containing f-i decls. First compile them to object code with the batch compiler. The object code should then automatically be loaded and used in subsequent interactive sessions, so the bytecode generator never has to handle the f-i decls. J ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: ghci-5.00: the `impossible' happened
Armin Groesslinger [EMAIL PROTECTED] 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 ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs