Blog
Applicatives and Monoids
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 moreMany ways to load modules
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:
- :load
- :add
- :reload
- :module
- import
That’s a lot of different commands!
Read moreA Tale of 2 PDs
Recently I attended two professional development events nominally aimed at “maker educators.” They ended up being pretty different experiences, though!
Read more