Lazy functional state threads
John Launchbury, Simon Jones · Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation · 1994
Some algorithms make critical internal use of updatable state, even though their external specification is purely functional. Based on earlier work on monads, we present a way of securely encapsulating stateful computations that manipulate multiple, named, mutable objects, in the context of a non-strict, purely-functional language.
Cited by 204 works. doi:10.1145/178243.178246 Open-access PDF
Authors
References
- Imperative functional programming
- ML for the Working Programmer
- Type inference for polymorphic references
- The typechecking of programs with implicit type structure
- Integrating functional and imperative programming
- Detecting global variables in denotational specifications
- Unboxed values as first class citizens in a non-strict functional language
- Conventional and uniqueness typing in graph rewrite systems
- Assignments for applicative languages
- Conventional and Uniqueness Typing in Graph Rewrite Systems