3 ms·
Are lenses used much in OCaml the way they are in Haskell?
Are lenses used much in OCaml the way they are in Haskell?
I worked at a major industrial user of Ocaml a few years back and as far as I can recall we didn't have lenses anywhere in our code base.
Ocaml has the "with" keyword to update records, so I believe it doesn't need lenses as much