4 ms·
There's an alternative implementation based on profunctors, discussed here: https://pay.reddit.com/r/haskell/comments/4poiq5/phil_freeman_fun_with_profunctors/
by danidiaz 10y ago
There's an alternative implementation based on profunctors, discussed here: https://pay.reddit.com/r/haskell/comments/4poiq5/phil_freeman_fun_with_profunctors/ https://pay.reddit.com/r/haskell/comments/4poiq5/phil_freema...
"lens" can be complex, but it also makes an effort to fit well with the standard Foldable/Traversable/Applicative idioms of Haskell, and it can be seen as an extension of them, both in functionality and in nomenclature.