The numhask-range package

[Tags:bsd3, library, test]

Numbers that represent ranges of all sorts.

[Skip to Readme]


Versions 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.1.0
Dependencies adjunctions, base (>=4.7 && <4.11), containers, distributive, formatting, numhask (>=0.0.9), protolude, QuickCheck, semigroupoids [details]
License BSD3
Copyright Tony Day
Author Tony Day
Category project
Home page
Source repository head: git clone
Uploaded Sun Aug 6 07:50:11 UTC 2017 by tonyday567
Distributions LTSHaskell:0.0.4, NixOS:0.1.0
Downloads 209 total (84 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2017-08-06 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for numhask-range

Readme for numhask-range-0.1.0


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.