-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Tree with Meta and Content parameters -- -- This Haskell library provides an implementation of a tree data type -- with meta data in the nodes and contents in the leaves. @package mtree @version 0.0 -- | This Haskell library provides an implementation of a tree data type -- with meta data in the nodes and content in the leaves. module Data.Trees.MTree -- | | The MTree m c is a tree structure with metadata in the -- nodes | and metadata and content in the leaves. data MTree m c MLeaf :: m -> c -> MTree m c meta :: MTree m c -> m content :: MTree m c -> c MNode :: m -> [MTree m c] -> MTree m c meta :: MTree m c -> m trees :: MTree m c -> [MTree m c] instance (Show m, Show c) => Show (MTree m c) instance Bitraversable MTree instance Bifoldable MTree instance Bifunctor MTree