Hacker News new | ask | show | jobs
by danidiaz 3643 days ago
There's an alternative implementation based on profunctors, discussed here: 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.

1 comments

Thanks for the link and it seems fresh off the press. Is this for Purescript only?

FYI, you can omit "pay." if you added it to get https.

You can implement pure profunctor lenses for Haskell too. I don't know if there's a commonly used library implemented though.