[Haskell-cafe] Type inference doesn't always calculate the most generic type?

Christophe Delord haskell at cdsoft.fr
Thu May 28 22:02:04 UTC 2015

Le Thu, 28 May 2015 14:01:50 -0700,
Tikhon Jelvis <tikhon at jelv.is> a écrit :

> The monomorphism restriction is turned off by default in ghci since
> version 7.8.1, so you'll see this behavior with newer versions of GHC
> and the original behavior with older ones.

I'm using an old version (7.6.3) on Debian. I'll try to install a newer

Thank you for all these answers.

More information about the Haskell-Cafe mailing list