3 ms·
Is anyone not freaked out by Lens? Really, that "thing" is scarry... you realize you need something like `^.` from it because it can make life easier, but then
by nnq 12y ago
Is anyone not freaked out by Lens? Really, that "thing" is scarry... you realize you need something like `^.` from it because it can make life easier, but then you look at the whole jungle of what it really is and your mind explodes.
- freyrs3 12y ago(^.) is a really simple function actually, I'd argue it's even simpler than fmap. If we look at `lens-family-core` all the machinery to derive everything you need to make lenses is very concise and would fit on a index card. http://hackage.haskell.org/package/lens-family-core-1.0.0/docs/src/Lens-Family.html#line-263 http://hackage.haskell.org/package/lens-family-core-1.0.0/do...