FirstPrelude: A version of Prelude suitable for teaching.

[ bsd3, library, unclassified ] [ Propose Tags ] [ Report a vulnerability ]

The design goals are to simplify considerably the Prelude library so that basic functional programming can be taught without having to explain type classes. I have observed in several years of teaching Haskell that many beginner mistakes which in a language like ML would result in a clear error message instead result in an error message about a lack of type class instances. This is unfortunate as type classes cannot easily be taught immediately and so beginners are left without as much support until they learn more topics. FirstPrelude is designed to simplify away as much of this as possible by using very few type classes and making a few other simplifying choices. The goal is then for students to switch to regular Prelude later in the course. A synposis of the changes can be found on the project homepage.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.1.0, 0.1.2.0
Change log CHANGELOG.md
Dependencies base (>=4.0.0.0 && <4.16.5.0) [details]
License BSD-3-Clause
Author dorchard
Maintainer dom.orchard@gmail.com
Home page https://github.com/dorchard/FirstPrelude
Uploaded by DominicOrchard at 2023-01-19T10:12:43Z
Distributions
Downloads 159 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-01-19 [all 1 reports]