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

Modules

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 on this topic.

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

See examples