4 ms·
The OP means accessing instance variables really. That is, the `.x` in `this.x` or `that.x`. They're not making a distinction between manually created getters a
by garethrowlands 4y ago
The OP means accessing instance variables really. That is, the `.x` in `this.x` or `that.x`. They're not making a distinction between manually created getters and setters and what the compiler generates.
- avgcorrection 4y agoHaskell has the same means of accessing records as Java has of accessing its fields. Or no?
- kqr 4y agoSure, but compared to lenses it's like writing in gotos instead of function calls.