3 ms·
I had not heard of keypaths before. They seem to provide functionality similar to lenses in Haskell.
by SnowflakeOnIce 4y ago
I had not heard of keypaths before. They seem to provide functionality similar to lenses in Haskell.
- Gadiguibou 4y agoThat's really cool I hadn't heard of them before! For those that are interested, I found this article by FPComplete on the topic: https://www.fpcomplete.com/haskell/tutorial/lens/ https://www.fpcomplete.com/haskell/tutorial/lens/
- threeseed 4y agoAt least this implementation derives from NeXT's Enterprise Object Framework [1] created in 1994. Which then made its way into Apple WebObjects, Cocoa and finally Swift. [1] https://en.wikipedia.org/wiki/Enterprise_Objects_Framework https://en.wikipedia.org/wiki/Enterprise_Objects_Framework