Polymorphism in the Prelude

Herbert Valerio Riedel hvr at gnu.org
Wed Jun 18 08:05:32 UTC 2014


On 2014-06-17 at 16:24:16 +0200, Richard Eisenberg wrote:

[...]

> In any case, it's a bit of a hoop for novices to jump through,
> especially if they aren't being guided by a teacher.
>
> I tend to agree that taxing the large quantity of experienced users
> for the benefit of novices is wrong-headed. But, I still think we need
> a nice, simple story to get new folks off the ground. Haskell prides
> itself on its beauty, and requiring several obscure and (at first)
> inscrutable command line flags to get decent error messages for a
> novice is not beautiful.

Fwiw, something related was brought up by John Meacham at

  http://www.haskell.org/pipermail/glasgow-haskell-users/2014-June/025047.html


Or maybe one could do something similiar to what was done with
/usr/bin/c99, i.e. provide a '/usr/bin/hc2010' (or ghc2010) wrapper for
ghc, that would by default force Haskell2010 mode and pull the
'haskell2010' pkg into scope while hiding 'base'


More information about the Libraries mailing list