Hacker News new | ask | show | jobs
by ljloisnflwef 1537 days ago
Other options:

* Use linear / affine / session types / move semantics

* Describe an interface, then weave side effects through it, such as the State Monad.

* Use lenses