Description
An insertion-order-preserving set.
Description
This package provides OSet
, an insertion-order-preserving set, with type class instances for Foldable
and Data
as well as wrappers, OSetL
and OSetR
, with left- and right-biased instances of Semigroup
and Monoid
respectively.
README.md
oset
An insertion-order-preserving set
- Mostly API-compatible with
OSet
ordered-containers
- Adds class instance for
Data
- Adds class instances for
Semigroup
andMonoid
viaOSetL
andOSetR
wrappers
Incompatibilities with OSet
from ordered-containers
fromList
is renamedfromListL
fromListR
is introduced by analogy withfromListL