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