|
|
|
|
|
by ethan_smith
350 days ago
|
|
Haskell's design prioritizes referential transparency and equational reasoning, which would be compromised by imperative get/set operations that mutate state directly - lenses provide a purely functional alternative that maintains these properties. |
|