abt-0.1.0.0: Abstract binding trees for Haskell
Abt.Types.View
Synopsis
data View v o n φ where Source
v is the type of variables; o is the type of operators parameterized by arities; n is the "higher type" of the term (i.e. a term has n=0, a single binding has n=1, etc.); φ is the functor which interprets the inner structure of the view.
v
o
n
n=0
n=1
φ
Constructors
mapView Source
Arguments
a natural transformation φ → ψ
φ → ψ
a view at φ
Views are a (higher) functor.