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

Could you explain why you think this proposal would help you avoid lens? If I am not mistaken all of the above code can easily be rewritten in the old syntax without using lens, so you probably have another use case in mind?


It is very cumbersome to write nested updates using the old syntax, and overlapping names between records was quite painful to deal with.




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

Search: