intervalfunctor alternatives and similar packages
Based on the "Data" category.
Alternatively, view intervalfunctor alternatives based on common mentions on social networks and blogs.

streaming
An optimized general monad transformer for streaming applications, with a simple prelude of functions
InfluxDB  Purpose built for realtime analytics at any scale.
Do you think we are missing an alternative of intervalfunctor or a related project?
README
intervalfunctor
This is a Haskell package defining an Interval
datatype parameterized by the type of endpoints and the type of their coordinates. For example, it can represent a simple onedimensional range:
import Data.Functor.Identity
import Data.Functor.Interval
zeroInterval :: Num a => Interval Identity a
zeroInterval = point 0
or a multidimensional region:
import Data.Functor.Interval
import Linear.V3  from the linear package
unitCube :: Num a => Interval V3 a
unitCube = (1)...1
Development
Development currently assumes a Mac with ghc
8.10 & cabal
3.0. You can install them directly, or use ghcup
. It should be possible to develop on other platforms and compilers, but I probably haven’t tried them myself.
cabal build enabletests # initial build
script/repl # load the library and tests in ghci
Once the repl has loaded, you can run the tests with :main
.
λ :main
Configuration exists for ghcide
, which can be integrated into many editors.
Advantages
intervalfunctor
separates the representation of the coordinates of an interval from the representation of the space the coordinates occur in. This makes it particularly suitable for consistent treatment of multidimensional intervals; operations like e.g. union
extend naturally to multidimensional spaces.
It is also thoroughly property tested and documented.
*Note that all licence references and agreements mentioned in the intervalfunctor README section above
are relevant to that project's source code only.