3 ms·
> That being said object.setter() has no equivalence to FP and is unique exclusively to OOP. What about Lens.Setter? (http://hackage.haskell.org/package/lens-4
by cannabis_sam 6y ago
> That being said object.setter() has no equivalence to FP and is unique exclusively to OOP.
What about Lens.Setter? (http://hackage.haskell.org/package/lens-4.19.2/docs/Control-Lens-Setter.html http://hackage.haskell.org/package/lens-4.19.2/docs/Control-... )
- leafboi 6y agoThat's not mutating anything. It's not a true setter.
- cannabis_sam 6y agoBut maybe it’s a true scotsman..?