[Haskell-cafe] strange GHCi type inference behavior involving map and partially applied functions

Brandon Allbery allbery.b at gmail.com
Mon Apr 16 04:44:10 CEST 2012


On Sun, Apr 15, 2012 at 19:44, Ting Lei <tinlyx at hotmail.com> wrote:

> In my humble opinion, I think the GHC should turn on ExtendedDefaulting if
> GHCi has it on by default. Otherwise it is confusing for newbies.
>

I think we're kinda tending in the opposite direction:  we'd like
NoMonomorphismRestriction to be the default unless operating in strict
Haskell98 or Haskell2010 mode.

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120415/fe8c3dd4/attachment.htm>


More information about the Haskell-Cafe mailing list