Type of applicative difference lists.
An applicative transformer which accumulates f-actions in
a left-nested composition using (<*>).
ApDList represents a sequence of f-actions
u1 :: f x1, ... un :: f xn as "term with a hole"
(_ <*> u1 <*> ... <*> un) :: f r.
That hole must have type _ :: f (x1 -> ... -> un -> r);
the variable number of arrows is hidden by existential quantification
and continuation passing.
To help ensure that syntactic invariant,
the Functor and Applicative instances for ApDList have no constraints.
liftApDList is the only function whose signature requires an
Applicative f constraint, wrapping each action u inside one (<*>).
Instances2Functor, Applicative
Functor (ApDList f)Defined in ap-normalize-0.1.0.1 · ApNormalize.DListApplicative (ApDList f)Defined in ap-normalize-0.1.0.1 · ApNormalize.DList