#3902: Partial application gives type error
----------------------------------------+-----------------------------------
Reporter: moleculeColony | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler (Type checker) | Version: 6.10.4
Resolution: invalid | Keywords:
Difficulty: | Os: Linux
Testcase: | Architecture: x86_64 (amd64)
Failure: GHC rejects valid program |
----------------------------------------+-----------------------------------
Changes (by igloo):
* status: new => closed
* resolution: => invalid
Comment:
Thanks for the report.
This sounds like the monomorphism restriction. You can turn it off with
the `NoMonomorphismRestriction` language extension.
There's more information here:
http://www.haskell.org/ghc/docs/latest/html/users_guide/monomorphism.html
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3902#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