Module

Neon.Class.HasChain

Package
purescript-neon
Repository
tfausak/purescript-neon

#HasChain Source

class HasChain a  where

Represents types that can express sequential actions. This is also known as a monad.

[3, 5] :chain (\ x -> [x, x * 2]) -- [3, 6, 5, 10]

Members

  • chain :: forall c b. (b -> a c) -> a b -> a c

Instances