oset: An insertion-order-preserving set

[ command-line, library, mit, program ] [ Propose Tags ]

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.

[Skip to Readme]
Versions [RSS] [faq],,,,
Dependencies base (>=4.10 && <4.13), containers (>=0.5.8 && <0.7), oset [details]
License MIT
Copyright 2019 Richard Cook
Author Richard Cook
Maintainer rcook@rcook.org
Revised Revision 4 made by rcook at 2019-02-09T05:26:20Z
Category Command Line
Home page https://github.com/rcook/oset#readme
Uploaded by rcook at 2019-02-09T04:48:31Z
Distributions NixOS:
Executables oset-app
Downloads 2082 total (12 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]


[Index] [Quick Jump]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for oset-

[back to package description]

Travis branch Hackage GitHub license


An insertion-order-preserving set

  • Mostly API-compatible with OSet ordered-containers
  • Adds class instance for Data
  • Adds class instances for Semigroup and Monoid via OSetL and OSetR wrappers

Incompatibilities with OSet from ordered-containers

  • fromList is renamed fromListL
  • fromListR is introduced by analogy with fromListL


View documentation on Hackage


MIT License