2 ms·
Adding a new setter method to a data object buried in 10 layers of abstraction. In Ruby it's changing the attr_accessor line. In Haskell objects are immutable
by ukj 7y ago
Adding a new setter method to a data object buried in 10 layers of abstraction.
In Ruby it's changing the attr_accessor line.
In Haskell objects are immutable, so you need lenses.