1
Fork 0
solar-conflux/purescript/reverse-state/README.md

12 lines
194 B
Markdown
Raw Permalink Normal View History

# Reverse state
My experiments with reverse state in purescript. Here's a short proof of concept
```purs
do
future <- get -- 4
modify \a -> a * 2
future' <- get -- 2
put 2
```