Module
Bound
- Package
- purescript-bound
- Repository
- benjamin-hodgson/purescript-bound
#substitute Source
substitute :: forall a f. Monad f => Eq a => a -> f a -> f a -> f a
#substituteVar Source
substituteVar :: forall a f. Functor f => Eq a => a -> a -> f a -> f a
#closed Source
closed :: forall b a f. Traversable f => f a -> Maybe (f b)
#substDefault Source
substDefault :: forall c a f t. MonadTrans t => Monad f => Monad (t f) => (a -> f c) -> t f a -> t f c
#Scope Source
newtype Scope b f a
Constructors
Instances
(Generic b, Generic (f (Var b (f a))), Generic a) => Generic (Scope b f a)
(Eq b, Eq (f (Var b (f a))), Eq a) => Eq (Scope b f a)
(Ord b, Ord (f (Var b (f a))), Ord a) => Ord (Scope b f a)
(Generic b, Generic (f (Var b (f a))), Generic a) => Show (Scope b f a)
(Functor f) => Functor (Scope b f)
(Monad f) => Apply (Scope b f)
(Monad f) => Applicative (Scope b f)
(Monad f) => Bind (Scope b f)
(Monad f) => Monad (Scope b f)
MonadTrans (Scope b)
Bound (Scope b)
(Foldable f) => Foldable (Scope b f)
(Traversable f) => Traversable (Scope b f)
#instantiate Source
instantiate :: forall f b a. Monad f => (b -> f a) -> Scope b f a -> f a
#instantiate1 Source
instantiate1 :: forall f b a. Monad f => f a -> Scope b f a -> f a
#foldMapBound Source
foldMapBound :: forall f m b a. Foldable f => Monoid m => (b -> m) -> Scope b f a -> m
#foldMapScope Source
foldMapScope :: forall f m b a. Foldable f => Monoid m => (b -> m) -> (a -> m) -> Scope b f a -> m
#traverseBound Source
traverseBound :: forall m f c b a. Traversable f => Applicative m => (b -> m c) -> Scope b f a -> m (Scope c f a)
#traverseScope Source
traverseScope :: forall m f d c b a. Traversable f => Applicative m => (b -> m d) -> (a -> m c) -> Scope b f a -> m (Scope d f c)
#traverseBound_ Source
traverseBound_ :: forall m f c b a. Foldable f => Applicative m => (b -> m c) -> Scope b f a -> m Unit
#traverseScope_ Source
traverseScope_ :: forall m f d c b a. Foldable f => Applicative m => (b -> m d) -> (a -> m c) -> Scope b f a -> m Unit
- Modules
- Bound