type-aligned-0.9.6: Various type-aligned sequence data structures.

Copyright(c) Atze van der Ploeg 2014
LicenseBSD-style
Maintaineratzeus@gmail.org
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell98

Data.TASequence.ConsList

Description

A type aligned sequence, a head-tail list, with worst case constant time: <|, and tviewl.

Documentation

data ConsList c x y where Source

Constructors

CNil :: ConsList c x x 
Cons :: c x y -> ConsList c y z -> ConsList c x z 

Instances