Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
A data structure storing mappings that are constant on intervals.
If the space of keys not discrete, then these mappings are right-continuous: values are in general defined on intervals $a leq x < b$ which are closed on the left and open on the right.
Instances
piecewiseFromAsc :: Eq k => v -> [(k, v)] -> Piecewise k v Source #