Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Weave.Lazy
Description
Lazy weaves enable linear-time implementations of breadth-first unfolds.
Documentation
data Weave (m :: Type -> Type) a where Source #
Lazy weaves.
The Applicative
operation (
combines weaves level-wise.liftA2
)
Constructors
Pure :: forall a (m :: Type -> Type). a -> Weave m a | |
Weft :: forall (m :: Type -> Type) b a. m (Weave m b) -> (b -> a) -> Weave m a |
Instances
Applicative m => Applicative (Weave m) Source # | |
Functor (Weave m) Source # | |