Jump to ratings and reviews
Rate this book

Abstractions in Context: Case Studies in Haskell Library Design

Rate this book
Learn Haskell abstractions the easy way — with real-world examples and context. You'll learn common patterns in Haskell, how to implement them yourself, and what their benefits and drawbacks are.

This short book is meant for anyone who already has a basic working understanding of Haskell, but is looking for intermediate-level knowledge.

143 pages, ebook

Published October 29, 2020

24 people want to read

About the author

William Yao

1 book1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
1 (50%)
4 stars
1 (50%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 of 1 review
Profile Image for pluton.
304 reviews10 followers
November 14, 2021
The book contains a review of several design patterns taken from a dozen of common Haskell libraries. I think it's a good overview of architectural approaches for building expressive library APIs in Haskell; if you can call "monoid" a pattern, but why not? There are also reminders that you don't have to apply as many patterns as possible in every case because they may not be applicable or make your API more complicated (e.g. by adding type-level constraints). The book is pretty short and to the point; it is helpful for folks who are new to Haskell and have never created libraries yet.
I am impressed by the example reimplementation of `conduit` and `servant` libraries in the book; they don't look that complicated now (of course, when everything is already explained in the book).
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.