haskell-phrasebook
haskell-phrasebook copied to clipboard
The Haskell Phrasebook: a quick intro to Haskell via small annotated example programs
This is an example for #6 As outlined in the issue I first go through a couple of commonly used functions from `Data.Vector.Mutable`, showing how to create, read and write...
I think the main aspect of typeclasses is defining common behavior for a set of types. In this playful example we have a set of character type belonging to the...
We currently have [a page on deriving `Hashable`](https://typeclasses.com/phrasebook/hash) but it's a bit useless without another page on what to *do* with a `Hashable` type :) I'd love to have an...
How to define a labelled tree type alongside two tree traversal functions: depth-first and breadth-first.
We've already covered this once in [using the REPL](https://typeclasses.com/phrasebook/using-the-repl), but here's another quick way of asking for a type that's useful when you're using the text editor + [ghcid](https://typeclasses.com/phrasebook/continual-checking) setup....