Y
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
leafboi
2100 days ago
That's not mutating anything. It's not a true setter.
link
cannabis_sam
2100 days ago
But maybe it’s a true scotsman..?
link