Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I had not heard of keypaths before. They seem to provide functionality similar to lenses in Haskell.


At 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


That'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/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: