hledger-lib-1.19.1: A reusable library providing the core functionality of hledger
Safe HaskellSafe
LanguageHaskell2010

Hledger.Utils.Tree

Synopsis

Documentation

newtype FastTree a Source #

An efficient-to-build tree suggested by Cale Gibbard, probably better than accountNameTreeFrom.

Constructors

T (Map a (FastTree a)) 

Instances

Instances details
Eq a => Eq (FastTree a) Source # 
Instance details

Defined in Hledger.Utils.Tree

Methods

(==) :: FastTree a -> FastTree a -> Bool Source #

(/=) :: FastTree a -> FastTree a -> Bool Source #

Ord a => Ord (FastTree a) Source # 
Instance details

Defined in Hledger.Utils.Tree

Show a => Show (FastTree a) Source # 
Instance details

Defined in Hledger.Utils.Tree

treeFromPaths :: Ord a => [[a]] -> FastTree a Source #