Packages

This project provides the equivalent of a Monad Typeclass similar to Haskell. The main difference though is that the typeclass is not abstract but the continuation monad. An example monad for the Maybe type in the README.

Current section

Files

Jump to
monad_cps lib control.ex
Raw

lib/control.ex

defmodule ContinuationMonad do
defmacro __using__(_options) do
quote do
import Control.Continuation
import Control.DoNotation
end
end
end