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 [faq] 0.1.1.0, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.4.0.1
Dependencies base (>=4.9 && <4.13), containers (>=0.5.8 && <0.7), oset [details]
License MIT
Copyright 2019 Richard Cook
Author Richard Cook
Maintainer rcook@rcook.org
Category Command Line
Home page https://github.com/rcook/oset#readme
Uploaded by rcook at Sat Feb 9 16:21:24 UTC 2019
Distributions NixOS:0.4.0.1, Stackage:0.4.0.1
Executables oset-app
Downloads 405 total (44 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for oset-0.4.0.1

[back to package description]

Travis branch Hackage GitHub license

oset

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

Documentation

View documentation on Hackage

Licence

MIT License