haskell-formatter-1.0.0: Haskell source code formatter

Safe HaskellSafe-Inferred
LanguageHaskell98

Language.Haskell.Formatter.Internal.MapTree

Description

 

Documentation

data MapTree k a Source

Constructors

Leaf a 
Node (MapForest k a) 

Instances

Functor (MapTree k) 
(Eq k, Eq a) => Eq (MapTree k a) 
(Ord k, Ord a) => Ord (MapTree k a) 
(Show k, Show a) => Show (MapTree k a) 

type MapForest k a = Map k (MapTree k a) Source

summarizeLeaves :: (Ord k, Monoid b) => MapForest k (Either a b) -> MapTree k (Either a (Map k b)) Source