[GHC] #9299: GHCi type inference error
GHC
ghc-devs at haskell.org
Mon Jul 14 08:38:05 UTC 2014
#9299: GHCi type inference error
-------------------------------------+------------------------------------
Reporter: erikd | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: Other | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by darchon):
And the above is weird. The release notes for 7.8.1 state:
{{{
The monomorphism restriction is now turned off by default in GHCi.
}}}
So I would expect that:
{{{
ghci-7.8.3 test.hs
}}}
and
{{{
ghci-7.8.3 -XNoMonomorphismRestriction test.hs
}}}
Would behave the same, that is, give an error.
Otherwise I don't understand the release notes. What's the difference
between having the monomorphism restriction turned off by default, and
running with -XNoMonomorphismRestriction? If there is a difference, this
should be documented more clearly in the release notes.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9299#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list