Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module provides the Range
type and several functions for working with ranges.
Documentation
bound_points :: [Scalar] -> Range Source #
Find the bounds of a list of points. (Throws an exception if the list is empty.)
union :: Range -> Range -> Range Source #
Take the union of two ranges. The resulting Range
contains all points that the original ranges contained, plus any points between them (if the original ranges don't overlap).