Applicatives and Monoids

Posted on October 15, 2019 by Daniel

I’m tinkering with bits of a new Haskell Postgres library. It’s very much not ready for others to use, but I’m using an interesting type, new to me, which I want to share. Maybe someone can point me at prior art, also.

The main idea is that as we build up decoding functions, we want to collect type names at the same time. We’ll use the type names at runtime, to check that Postgres sends what Haskell expects. If not, we’ll use them in an error message.

Read more

Many ways to load modules

Posted on March 7, 2018 by Daniel

I’ve been confused for years by variations of the :load command in GHCi. So much so it often keeps me from using GHCi.

The GHC manual mentions:

That’s a lot of different commands!

Read more

A Tale of 2 PDs

Posted on October 20, 2017 by Christalee

Recently I attended two professional development events nominally aimed at “maker educators.” They ended up being pretty different experiences, though!

Read more