oset: An insertion-order-preserving set

[ command-line, library, mit, program ] [ Propose Tags ] [ Report a vulnerability ]

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]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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]
Tested with ghc ==8.2.2, ghc ==8.4.4, ghc ==8.6.3
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 2019-02-09T16:21:24Z
Distributions
Executables oset-app
Downloads 2519 total (20 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

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