thorn-0.1.0.3: Datatype Manipulation with Template Haskell

Safe HaskellNone

Data.Thorn.FunctorExample

Documentation

type :<- a b = b -> aSource

data Cntr a Source

Constructors

Cntr (a -> Int) 

Instances

data FunFun a b Source

Constructors

FunFun ((b -> a) -> b) 

Instances

data What a b c Source

Constructors

What1 c (a -> c) 
What2 a 

Instances

data List a Source

Constructors

Nil 
a :* (List a) 

Instances

Functor List 
Show a => Show (List a) 

data Rose a Source

Constructors

Rose a (Forest a) 

Instances

Functor Rose 
Show a => Show (Rose a) 

data Forest a Source

Constructors

Forest [Rose a] 

Instances