You can take it even further by just using Backpack. I think it’s a bit unfortunate that Backpack works on the package level (I have some ideas about changing that), but otherwise it seems like a much more principled approach.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Why are Partial Functions so prevalent in Prelude? | 29 | 3218 | February 29, 2024 | |
Foldl traverses with State, foldr traverses with anything | 34 | 2092 | January 9, 2024 | |
Question on map . map sum | 31 | 1625 | December 17, 2022 | |
Scrap your iteration combinators | 36 | 1177 | May 27, 2025 | |
`Monoid` of no `mappend`: Call for examples | 30 | 719 | April 25, 2025 |