numhask-range: Numbers that are range representations

[ bsd3, deprecated, library, project ] [ Propose Tags ]
Deprecated in favor of numhask-space

Numbers that represent ranges of all sorts.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.1.0, 0.1.1, 0.1.2, 0.1.3.0, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.2.1, 0.2.3.1
Dependencies base (>=4.7 && <5), containers, foldl, formatting, lens, linear, numhask (>=0.0.7), protolude, QuickCheck [details]
License BSD-3-Clause
Copyright Tony Day
Author Tony Day
Maintainer tonyday567@gmail.com
Category project
Home page https://github.com/tonyday567/numhask-range
Source repo head: git clone https://github.com/tonyday567/numhask-range
Uploaded by tonyday567 at 2017-07-23T03:43:23Z
Distributions
Reverse Dependencies 2 direct, 1 indirect [details]
Downloads 7403 total (31 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-07-23 [all 1 reports]

Readme for numhask-range-0.0.4

[back to package description]

numhask-range

Build Status Hackage lts nightly

A Range a is a tuple representing an interval of a number space. A Range can be thought of as consisting of a low and high value, though low <= high isn't strictly enforced, allowing a negative space so to speak. The library uses the 'NumHask' classes and thus most of the usual arithmetic operators can be used.

The library includes modules for:

  • Rect: rectangles, which are 2 dimensional ranges. This is very useful for diagrams
  • Hist: histograms. This may sound strange but buckets of a histogram is nothing more than a collection of contiguous Ranges with extra information for each bucket.