typeclasses / haskell-phrasebook

The Haskell Phrasebook: a quick intro to Haskell via small annotated example programs
https://typeclasses.com/phrasebook
210 stars 22 forks source link

add a map and set example with custom data type as key #25

Open Benjmhart opened 5 years ago

Benjmhart commented 5 years ago

relates to issue https://github.com/typeclasses/haskell-phrasebook/issues/13

includes the content from the jumping off point provided, examples with a custom data type as key, map insertion, set behaviours including insert, union, difference.

Benjmhart commented 4 years ago

@chris-martin - I haven't heard back on this, let me know if this is what you had in mind or if it needs some adjustments