#3857: gchi compiles but gch fails
------------------------+---------------------------------------------------
Reporter: dstr | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.12.1 | Keywords:
Os: MacOS X | Testcase:
Architecture: x86 | Failure: GHC rejects valid program
------------------------+---------------------------------------------------
Comment(by maeder):
The ghc linker message is normal since the module's name is not Main and
there's no main function (of type IO ()).
The curly braces around the module body are unusual but it works to add
something before the final closing "}" if the instance definitions after
the second "where" are also put in curly braces.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3857#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs