/hpfp

Haskell Programming from First Principles

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Haskell Programming From First Principles

My work on HPFP, organized by chapter under src/ch#/

Context

I started learning Haskell during my mini batch at the Recurse Center (RC) in February 2020, both on my own and as part of a self-organized study group. We started out with Graham Hutton's excellent text.

Since then, I've continued working on Haskell on my own, and collaborating in our RC Haskell Study Group which continues to meet remotely. I'm still using Hutton's Programming in Haskell (2016) but have now started working through Haskell Programming from First Principles.

I recommend Hutton for getting up and running speedily, and HPFP has been really excellent for coming back around and building up the foundations.

To run and interact with the examples

Open a REPL, load in the desired example, and play away!

Random Tidbits

Haskell's quot rem div and mod

I took some time to grok this, and put my thoughts in /src/ch2/quotientRemainder_vs_divideModulo.md

Currently at...

Chapter 6, Section 7