Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data View v f x a where
- pattern Var :: forall f v a. (Visits f, Freshen v, Ord v) => (~#) Arity Arity a G => v -> Term v f a
- pattern Abs :: forall f v a. (Visits f, Freshen v, Ord v) => forall a1. (~#) Arity Arity a (B a1) => v -> Term v f a1 -> Term v f a
- pattern Pat :: forall f v a. (Visits f, Freshen v, Ord v) => (~#) Arity Arity a G => f (Term v f) -> Term v f a
- fold :: (Visits f, Ord v) => View v f (Term v f) a -> Term v f a
- unfold :: (Visits f, Ord v, Freshen v) => Term v f a -> View v f (Term v f) a
Documentation
data View v f x a where Source #
(Eq (x a), Eq (f x)) => Eq (View v f x (B a)) Source # | Alpha-equivalence |
(Eq v, Eq (f x)) => Eq (View v f x G) Source # | Alpha-equivalence |
(Ord v, Ord (x a), Ord (f x)) => Ord (View v f x (B a)) Source # | |
(Ord v, Ord (f x)) => Ord (View v f x G) Source # | |
(Show v, Show (x a), Show (f x)) => Show (View v f x (B a)) Source # | |
(Show v, Show (x G), Show (f x)) => Show (View v f x G) Source # | |
pattern Var :: forall f v a. (Visits f, Freshen v, Ord v) => (~#) Arity Arity a G => v -> Term v f a Source #
pattern Abs :: forall f v a. (Visits f, Freshen v, Ord v) => forall a1. (~#) Arity Arity a (B a1) => v -> Term v f a1 -> Term v f a Source #