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]
Versions 0.1.0.0
Dependencies base (>=4.7 && <5), contravariant, ListLike [details]
License MIT
Copyright 2018 Typeclass Consulting, LLC
Author Chris Martin
Maintainer Chris Martin, Julie Moronuki
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 Mon Sep 24 03:40:04 UTC 2018
Distributions NixOS:0.1.0.0
Downloads 58 total (16 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-09-24 [all 1 reports]
Hackage Matrix CI

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for assoc-listlike-0.1.0.0

[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)