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 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
Category project
Home page
Source repo head: git clone
Uploaded by tonyday567 at 2017-07-23T03:43:23Z
Reverse Dependencies 2 direct, 1 indirect [details]
Downloads 7440 total (21 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]


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.