assoc-listlike: Association lists (list-like collections of tuples)

[ data, library, mit ] [ Propose Tags ]

An association list conceptually signifies a mapping, but is represented as a list (of key-value pairs).

This package defines an association list as a constraint synonym for a list-like collection of tuples, using the ListLike type class from the ListLike package.

type AssocList l a b = ListLike l (a, b)

[Skip to Readme]

Downloads

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

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1
Change log changelog.md
Dependencies base (>=4.9 && <4.17), contravariant (>=1.5 && <1.6), ListLike (>=4.6 && <4.8) [details]
License MIT
Copyright 2018-2021 Mission Valley Software LLC
Author Chris Martin
Maintainer Chris Martin, Julie Moronuki
Revised Revision 1 made by chris_martin at 2022-03-14T20:12:13Z
Category Data
Home page https://github.com/typeclasses/assoc-list
Bug tracker https://github.com/typeclasses/assoc-list/issues
Source repo head: git clone https://github.com/typeclasses/assoc-list
Uploaded by chris_martin at 2021-08-11T02:48:25Z
Distributions NixOS:0.1.0.1
Downloads 880 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-08-11 [all 1 reports]

Readme for assoc-listlike-0.1.0.1

[back to package description]

assoc-listlike

An association list conceptually signifies a mapping, but is represented as a list (of key-value pairs).

This package defines an association list as a constraint synonym for a list-like collection of tuples, using the ListLike type class from the ListLike package.

type AssocList l a b = ListLike l (a, b)