4 ms·
In imperative languages you don't need Edward Kmett to invent lenses for you.
by h91wka 7y ago
In imperative languages you don't need Edward Kmett to invent lenses for you.
- sullyj3 7y agoBut, this is a problem specific to Haskell and its poor record syntax, not the functional paradigm in general.
- tome 7y agoFirstly, that's a non-sequitur, but secondly, in an imperative language with immutable data structures, yes, you do.
- jolux 7y agoI...sure? But you could get a lot of help from Phil Wadler and Simon Peyton-Jones!