Hets - the Heterogeneous Tool Set

CopyrightC. Maeder DFKI Bremen 2008
LicenseGPLv2 or higher, see LICENSE.txt
MaintainerChristian.Maeder@dfki.de
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred

Common.Lib.SizedList

Description

a list plus its length for a more efficient history implementation. Parts of the implementation is stolen from Data.Edison.Seq.SizedSeq

Documentation

fromList :: [a] -> SizedList a

toList :: SizedList a -> [a]

cons :: a -> SizedList a -> SizedList a

head :: SizedList a -> a

map :: (a -> b) -> SizedList a -> SizedList b