Haskell is awesome.
lens over tea
A series of articles (called “lens over tea”) about lens and its implementation.
part 1 – lenses 101, traversals 101, a bit of implementation details (also lens operators, functor composition,
Identity, difference lists, monoids of endomorphisms under composition, default signatures for class methods, equality constraints, and irrefutable patterns).
part 2 – composition, laws, getters/actions/setters (also history of lenses, categories, the way to write lenses which would compose “normally”, some links to
Void, and useless notes for weird people (like me) who like seeing unfinished things).
part 3 – folds (also
Apply, a nice trick for combining folds, and
I've been learning Racket and making notes:
Introduction. First three days, no prior knowledge, getting a feel for the syntax... You get the idea.
Macros, Macros and a Bit of Modules. Another three days. Mostly macros, as you could've guessed.
- list of topics to cover. Grey because it can't be finished almost by definition.
Stuff I did
This site. Yes, it runs on a couple of shell scripts, but I thought I'd explain them anyway.
/r/haskelltil, a subreddit for Haskell tips and tricks and code samples and oddities and curiosities and idioms and interesting facts and everything that is short enough that you'd be ashamed to submit it to /r/haskell or write about it at your blog. Okay, well, at least I started it.