Optics By Example (@opticsbyexample) header
Optics By Example (@opticsbyexample) profile picture

The lenses book for Haskell and other functional programming languages by @chrislpenner https://teapaw.org/t.co/HOXV9Vvkt5

Joined September 2019
Replying to @xgrommx
I like this one! I'd swap `$` in for `&` so you get proper "short-circuiting" on a match; then it works like normal pattern matching, taking the first match 😀
1
1
4
Teaching Traversals using Dragon Ball Z? Yes I think so... #OpticsByExample
3
12
Having a little too much fun inventing legally ambiguous Poogeymanz for book examples 👾
1
5
Another reason to get the book in early access: you get to see my gorgeous ASCII art diagrams before I replace them with nicer ones👨‍🎨 patreon.com/chrispenner
2
3
8