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]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • 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,,,,,,
Dependencies adjunctions, base (>=4.7 && <4.11), containers, distributive, formatting, numhask (>=0.0.9), protolude, QuickCheck, semigroupoids [details]
License BSD-3-Clause
Copyright Tony Day
Author Tony Day
Category project
Home page
Source repo head: git clone
Uploaded by tonyday567 at 2017-08-06T07:50:11Z
Reverse Dependencies 2 direct, 1 indirect [details]
Downloads 7286 total (7 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-08-06 [all 1 reports]

Readme for numhask-range-0.1.0

[back to package description]


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.