Hacker News new | ask | show | jobs
by cannabis_sam 2102 days 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-... )

1 comments

That's not mutating anything. It's not a true setter.
But maybe it’s a true scotsman..?