Haskell Explained

Welcome to the Haskell Explained blog. Here you will find content related to my Haskell programming quests.

Recent Posts

HTTP APIs with WebGear

September 26, 2020 / webgear

I recently released WebGear - a library to build HTTP APIs. While Haskell has a number of libraries and frameworks for building HTTP API servers, WebGear is somewhat unique in the design space. I will explain some interesting features of WebGear in this post.

PatternSynonyms for expressive code

August 27, 2019 / extensions, pattern synonyms

PatternSynonyms is a very handy GHC extension to abstract away some implementation details of your data types and present a cleaner interface to the rest of the code.

Polysemy is fun! - Part 2

July 31, 2019 / polysemy, effects

Continuing from part1, we figure out how to interpret effects in polysemy.

Polysemy is fun! - Part 1

July 28, 2019 / polysemy, effects

This post is an introduction to polysemy - a new “effects” library that can be used in place of monad transformers. We’ll build a real-world application to understand how to use it to structure your code.