Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

State in Haskell #77

Open
xtreme-james-cooper opened this issue Sep 18, 2017 · 0 comments
Open

State in Haskell #77

xtreme-james-cooper opened this issue Sep 18, 2017 · 0 comments

Comments

@xtreme-james-cooper
Copy link

By John Launchbury and Simon Peyton Jones
https://www.microsoft.com/en-us/research/wp-content/uploads/2016/07/state-lasc.pdf

Basically "The IO Monad, as seen from the other side."

In this paper we describe a way to express stateful algorithms in non-strict, purely functional languages. The approach is a development of our earlier work on monadic I/O and state encapsulation..., but with an important technical innovation: we use parametric polymorphism to achieve safe encapsulation of state. It turns out that this allows mutable objects to be named without losing safety, and it also allows input/output to be smoothly integrated with other state manipulation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant