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

lens
Lenses, Folds, and Traversals  Join us on web.libera.chat #haskelllens 
semanticsource
Parsing, analyzing, and comparing source code across many languages 
codebuilder
Packages for defining APIs, running them, generating client code and documentation. 
text
Haskell library for space and timeefficient operations over Unicode text. 
compendiumclient
Mu (μ) is a purely functional framework for building micro services. 
unorderedcontainers
Efficient hashingbased container types 
cassava
A CSV parsing and encoding library optimized for ease of use and high performance 
hashable
A class for types that can be converted to a hash value 
holmes
A reference library for constraintsolving with propagators and CDCL. 
binary
Efficient, pure binary serialisation using ByteStrings in Haskell. 
primitive
This package provides various primitive memoryrelated operations. 
resourcepool
A highperformance striped resource pooling implementation for Haskell 
jsonautotype
Automatic Haskell type inference from JSON input 
discrimination
Fast linear time sorting and discrimination for a large class of data types 
audiovisual
Extensible records, variants, structs, effects, tangles 
dependentsum
Dependent sums and supporting typeclasses for comparing and displaying them 
reflection
Reifies arbitrary Haskell terms into types that can be reflected back into terms 
dependentmap
Dependentlytyped finite maps (partial dependent products) 
IORefCAS
A collection of different packages for CAS based data structures. 
orgmodeparse
Attoparsec parser combinators for parsing orgmode structured text! 
streaming
An optimized general monad transformer for streaming applications, with a simple prelude of functions 
protobuf
An implementation of Google's Protocol Buffers in Haskell. 
safecopy
An extension to Data.Serialize with builtin version control 
bifunctors
Haskell 98 bifunctors, bifoldables and bitraversables 
texticu
This package provides the Haskell Data.Text.ICU library, for performing complex manipulation of Unicode text. 
scientific
Arbitraryprecision floatingpoint numbers represented using scientific notation 
uuidtypes
A Haskell library for creating, printing and parsing UUIDs
Build timeseriesbased applications quickly and at 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.