interval-algebra v0.5.0 Release Notes
-
- โ Adds the
compose
function toIntervalAlgebraic
typeclass, thus now all the algebraic operations are available: complement, composition, converse, intersection, and union. - In the
IntervalAlgebraic
typeclass, addsconcur
as a synonym fornotDisjoint
;enclosedBy
as a synonym forwithin
; andenclose
as the converse ofenclosedBy
. - Generalizes the utilities
combineIntervals
,gaps
,gapsWithin
, andrelations
to work with anyApplicative
,Foldable
Monoid
(of whichList
is a case). - ๐ Changes the signature of
gapsWithin
to returnMaybe (f (Interval a))
, so that in the case that there are no gapsNothing
is returned. - Renames the
emptyIf*
function tonothingIf*
. LikegapsWithin
, these now returnMaybe (f (Interval a))
so thatNothing
is returned if the quantified predicated is true. - โ Removes the
IntervalFilterable
typeclass and these functions are now available in the utilities module without needing to specify instances for each container type you want to filter.
- โ Adds the