This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.1 1.0.2
A simple library for working with continuations in elm
version 1.0.0
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.0
Committed At 2018-07-28 13:08:36 UTC
elm-lang/core 5.1.1 <= v < 6.0.0 5.1.1



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 accept that its usage will probably be considered being anti-pattern and the fact that I'm neither trying you to convince to use or am being responsible for other folks reactions when you do so.

This package contains minimal implementation for 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 on this topic.

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

See examples