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]
Versions [RSS] [faq] 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 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
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-08-06T07:50:11Z
Distributions NixOS:0.2.3.1
Downloads 6612 total (45 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2017-08-06 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates


Readme for numhask-range-0.1.0

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