Programming
Haskell Deriving Strategies Explained for Real Types
A student pasted this into the class chat in the second week of the term: newtype UserId = UserId Int deriving (Eq, Ord, Show,...
Topic
Language concepts, programming patterns, and the ideas that make code easier to reason about.
Programming
A student pasted this into the class chat in the second week of the term: newtype UserId = UserId Int deriving (Eq, Ord, Show,...
Programming
A student sent me a function in the third week of last term that worked out a shipping band from a weight in grams and a...
Programming
A student brought me a function last term that merged three configuration records into one.
Programming
You know roughly what a function should do, you have written the signature, and then you sit there staring at the right-hand...
Programming
You have a value stuck inside a Maybe, a list, or an IO action, and you keep writing case expressions just to apply one small...
Programming
Your Haskell service crashes at 3 a.m. with an uncaught exception from a config parser, and the stack trace tells you almost...