Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/turbomack/elm-continue

A simple library for working with continuations in elm
https://github.com/turbomack/elm-continue

continuations elm

Last synced: 18 days ago
JSON representation

A simple library for working with continuations in elm

Awesome Lists containing this project

README

        

# Elm Continue

Library for manipulating and composing continuations in Elm.

**Usage of `Continuation` would be probably discouraged by broader elm community.
Use this package as learning material or use it wisely**

This package contains lightweight implementation of abstractions to work with continuations
which are commonly described as Continuation as Functor (`map`), Applicative (`andMap`) and Monad (`andThen`).

One of the practical usages one can see is to use it as a decoupling mechanism.
You might be interested in [G. Gonzalez's blog post](http://www.haskellforall.com/2012/12/the-continuation-monad.html) on this topic.

*Please note that this implementation is fairly limited as we can't express Monad Transformers in elm.*

See [examples](https://github.com/turboMaCk/elm-continue/tree/master/examples)