thorn-0.1.0.3: Datatype Manipulation with Template Haskell
Data.Thorn.FoldExample
data x :$ y Source
Constructors
data (t0 :&$ t1) self Source
insth :: :&$ x y (:$ x y) -> :$ x ySource
outsth :: :$ t0 t1 -> :&$ t0 t1 (:$ t0 t1)Source
hylosth :: (t -> :&$ t0 t1 t) -> (:&$ t0 t1 self -> self) -> t -> selfSource
foldsth :: (:&$ t0 t1 self -> self) -> :$ t0 t1 -> selfSource
unfoldsth :: (t -> :&$ x y t) -> t -> :$ x ySource