New type of ($) operator in GHC 8.0 is problematic

Richard Eisenberg eir at cis.upenn.edu
Tue Feb 16 15:28:04 UTC 2016


On Feb 16, 2016, at 5:35 AM, Ben Gamari <ben at smart-cactus.org> wrote:
> Indeed. I'll just say that I envision that a beginner's prelude would be
> for learning and nothing more. The goal is that it would be used in the
> first dozen hours of picking up the language and nothing more.
> 
> I'd be interested to hear what Richard had in mind when he has time
> again.

Yes, that's right. And, of course, it doesn't even need to be something released with GHC.

I hope to have the opportunity to teach intro Haskell in the not-too-distant future. Maybe even this coming fall. Though I have yet to look closely at Chris's book, which will be one of the first things I do to prep, I suspect I'll be writing a custom Prelude for my first few weeks of the class, eliminating all type-classes. No Foldable, no Monoid, no Num. And then, by week 3 or 4, bring all that back in.

Richard


More information about the ghc-devs mailing list