rose-trees-0.0.3: A collection of rose tree structures.

Safe HaskellNone
LanguageHaskell2010

Data.Tree.Rose

Documentation

type family Head x :: * Source

Instances

type Head (Tree a) = a Source 
type Head (SetTree a) = a Source 
type Head (KnuthForest a) = a Source 
type Head (KnuthTree a) = a Source 

type family Tail y :: * Source

Instances

type Tail (Tree a) = [Tree a] Source 
type Tail (SetTree a) = Set (SetTree a) Source 
type Tail (KnuthForest a) = KnuthForest a Source 
type Tail (KnuthTree a) = KnuthForest a Source 

class RoseTree c where Source

Methods

(@->) :: Head (c a) -> Tail (c a) -> c a infixr 9 Source