-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Tree with only leaves carrying the data. -- -- This Haskell library provides an implementation of a tree data type -- with content only in the leaves, and its corresponding transformer. @package LTree @version 0.0 -- | This Haskell library provides an implementation of a tree data type -- with content in the leaves. module Data.Trees.LTree -- | | The LTree c is a tree structure with content in the leaves. data Tree c Leaf :: c -> Tree c content :: Tree c -> c Node :: [Tree c] -> Tree c trees :: Tree c -> [Tree c] instance Show c => Show (Tree c) instance Eq c => Eq (Tree c) instance Traversable Tree instance Foldable Tree instance Monad Tree instance Applicative Tree instance Functor Tree