GHC 6.4 Final Release - tried the sample code for
Graphics.HGL, i.e.
module Main where {
import Graphics.HGL;
main :: IO ();
main = runGraphics $
withWindow_ "Hello World Window" (300, 200) $ \ w -> do
drawInWindow w $ text (100, 100) "Hello World"
drawInWindow w $ ellipse (100, 80) (200, 180)
getKey w;
}
WindowsXP Home.
First attempt in GHCi is as below. Retrying main causes a GPF error
box.
c:\temp>ghci Main
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.4, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.
Loading package base-1.0 ... linking ... done.
Compiling Main ( Main.hs, interpreted )
Ok, modules loaded: Main.
*Main> main
Loading package Win32-1.0 ... <interactive>: Not x86 PEi386
ghc.exe: panic! (the `impossible' happened, GHC version 6.4):
loadObj: failed
Please report it as a compiler bug to glasgow-haskell-bugs@xxxxxxxxxxx,
or http://sourceforge.net/projects/ghc/.
*Main> main
Loading package Win32-1.0 ... linking ...
c:\temp>
|
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|