Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xc-jp/histogram-simple
Simple Data.Map-based histogram
https://github.com/xc-jp/histogram-simple
Last synced: 9 days ago
JSON representation
Simple Data.Map-based histogram
- Host: GitHub
- URL: https://github.com/xc-jp/histogram-simple
- Owner: xc-jp
- License: bsd-3-clause
- Created: 2019-11-11T08:41:56.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-12-06T06:29:20.000Z (almost 3 years ago)
- Last Synced: 2024-10-28T14:16:29.995Z (23 days ago)
- Language: Haskell
- Size: 21.5 KB
- Stars: 2
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# histogram-simple
[![Hackage version](https://img.shields.io/hackage/v/histogram-simple.svg?label=Hackage)](https://hackage.haskell.org/package/histogram-simple)
[![Stackage version](https://www.stackage.org/package/histogram-simple/badge/nightly?label=Stackage)](https://www.stackage.org/package/histogram-simple)Simple `Data.Map`-based histogram.
A histogram counts occurrences of things, i.e. `Histogram k` represents a mapping `k -> Int`.
Since it is backed by a `Map` from `Data.Map`, it requires `k` to have an `Ord` instance.