Changelog for interval-patterns-0.8.1
Revision history for interval-patterns
0.8.1
unBorel :: (Ord x) => Borel x -> [Interval x], the ordered list of intervals in theBorelset- remove explicit
Typeablederiving - add
(Functor|Foldable|Traversable)WithIndexclasses toLayers Layers.squashingandLayers.isquashing
0.8.0
newtype Shrink x = Shrink {getShrink :: Borel x}, the monoid formed byBorel.intersectionandwholelandAbove :: (Ord x, Ord y) => y -> Layers x y -> Borel xabove "sea level"land :: (Ord x, Monoid y, Ord y) => Layers x y -> Borel xabove a "sea level" ofmempty- remove unnecessary
Latticeconstraints on the endpoints ofBorelsets - fix
Constrdefinitions having an extra-character - fix bug in
differenceconflating the casesFinishesandFinishedBy
0.7.2
- fix sign of result in
Data.Timeframe.duration - generalize
withinandthicknessto Levitated
0.7.1
- instances
HashableandNFDataforInterval - relax constraint on
Data.Interval.Layers.thicknesstoSemigroup
0.7.0.3
- update
latticeversion range to build on new stackage LTS
0.7.0.2
- fix bug in
Data.Interval.hull - improve documentation of
Data.Interval
0.7.0.1
- use
heapsto improve performance ofLayersat the cost of anOrdconstraint on the "height" of the layers
0.6.0.1
- drop
reludedependency
0.5.1.0 - 2022-08-04
- improve performance of
Layers.fromList
0.5.0.0 - 2022-08-04
- fix direction of
diffUTCTimeinerlangs - Remove export of
Data.Interval.Layers.nestingsAsc- also fix its implementation
- rely on
nestingsfor external use
0.4.0.0 - 2022-07-26
- New functions
- unidirectional
pattern (:--:)for matching finite intervals regardless ofBound Data.Interval.Layers.integratefor calculating areasData.Calendar.erlangsfor calculating carried loadpile, flipped synonym forData.Interval.Layers.insert- rename
Data.Interval.Borel.cutouttoremove, flipped infix synonym(\-) - rename
Data.Interval.Borel.cliptotruncate, flipped infix synonym(\=) - rename previous
Data.Interval.Layers.removetodig - new function
Data.Interval.Layers.removeakin toBorel, flipped infix synonym(\-) - rename
Data.Interval.Layers.cliptotruncate, flipped infix synonym(\=)
- unidirectional
- New instances
Data,Typeable,Genericinstances forIntervalDatainstance forAdjacency
- Minor improvements
- better implementation of
unions - fix comparison order in
compareBounds - removed
compareBounds' forced restriction toLevitated imin,iinf,isup,imaxno longer returnBounds- fix
differencein casesMetByandAfter - fix regression in smart constructor ordering
- fix
withinon boundaries - add example to
measuring - improve implementation of
unionsAsc - better
Showinstance for finite intervals
- better implementation of
0.3.1.0 - 2022-07-13
- re-export
OneOrTwofromData.Interval
0.3.0.1 - 2022-06-08
- expose
Data.Calendarlol
0.3.0.0 - 2022-06-08
- new pattern synonym
(:---:) :: (Ord x) => Levitated x -> Levitated x -> Interval x- only works as a pattern; cannot be used as an expression
- disregards the open/closedness of the boundary
- fix
openclosedandclosedopen - rename
imapS -> imapLevanditraverseS -> itraverseLevfollowingSuspension -> Levitated (...)as a value-level analogue tointervalData.Interval.isSubsetOfData.Interval.Borel.isSubsetOfData.Interval.Layers.differenceData.Interval.Layers.clipData.Interval.Layers.toStepFunctionData.Calendar.happeningAt
0.2.0.1 - 2022-05-30
- export
clipfromData.Interval.Borel
0.2.0.0 - 2022-05-30
- generalize
Layersto arbitraryNumtypes andCalendarto arbitraryRealtypes
0.1.0.0 - 2022-05-19
- constructors behave more intuitively
- if the endpoints are equal, it becomes a closed interval
- when endpoints are reversed, using a smart constructor preserves the declared endpoint boundaries (e.g.
6 :|>: 4becomes4 :<|: 6)
- tests
0.0.11.0 - 2022-03-08
- drop
Data.Suspensionentirely in favour ofAlgebra.Lattice.Levitated - rename
Data.Interval.{Set => Borel}and add Lattice/Ring/Heyting instances - explicit exports for
Data.OneOrTwo
0.0.10.2 -- 2022-02-22
- fix
EnumforSuspension
0.0.10.1 -- 2022-02-15
- add
Layers.removeandLayers.baseline
0.0.10.0 -- 2022-02-15
- add dependency
group-theory instance Monoid Suspensionnow lifts monoids only- add
instance Group x => Group (Suspension x) Data.Interval.unionsnow sorts the list first; addunionsAscCovering.unionsSetusesfrom/toAscListandunionsAscinstance Group y => Group (Layers x y)instance Functor Layersnestingnow sorts the list first; addnestingAscSemigroup LayersusesnestingAsc
0.0.9.0 -- 2022-02-15
Layersis now a two-parameter type, andnestingssupports arbitrary semigroups instead of the previous restriction toInt.- drop
multisetdependency as a result type Event = Layers UTCTime (Sum Int)
0.0.8.0 -- 2022-02-15
- switch definitions of
lowerandlowerBound,upperandupperBound - universal
Boundedand liftedEnumfor Suspension (Data.Interval.\\)- change names from
IntervalSet -> CoveringandIntervalLayer -> Layers - rename
Covering.intervalstoCovering.covering("smart constructor")
0.0.7.1 -- 2022-02-13
imapSanditraverseS
0.0.7.0 -- 2022-02-13
- introduce strictness annotations for
Suspension,Interval, andAdjacency
0.0.6.1 -- 2022-02-13
- fix
Numinstance forSuspension
0.0.6.0 -- 2022-02-13
- remove
AdjacencyRepr(don't need a type parameter you're just gonna hide) - amalgamate
splitintoadjacency - no need for weird import chain, define everything in
Data.Interval
0.0.5.0 -- 2022-02-12
Data.Interval.Layeredprovides a monoid likeIntervalSet, but that will keep track of the number of times a particular interval has been added to the structure. This is useful for determining, e.g., how many clones you need to attend all today's meetings on time.
0.0.4.0 -- 2022-02-12
- Rename project
Revision history for timeframes
0.0.3.0 -- 2022-02-12
- Drop
orient, puttingOrdconstraints on the constructors ofIntervaland leaving the ordering to the smart constructors - Rewrite
intersection,union, anddifferenceusingsplit - Settle on changelog format
- move
withBoundstoData.Interval
0.0.2.0 -- 2022-02-12
- Drop
UpToThreein favour of a more dependently-typed model of adjacency Overlapis changed toAdjacencywhere it occurssplitnow returnsSomeAdjacency, which can be pattern-matched to yield the exact (one, two, or three) intervals into which the two have been cleavedIntervalmoved intoData.Interval.Typesto avoid a cyclic dependency betweenData.IntervalandData.Interval.Adjacency
0.0.1.0 -- 2022-02-08
Types and functions for working with intervals and their monoid under union.
Data.Suspensionprovides the two-point extension of a type, used for marking the endpoints of intervals.Data.Intervaldefines theIntervaltype, along with type- and value-level structures for working with closed and open endpoints.overlapcalculates the relationship between intervals according to Allen`s interval algebra.splitseparates two intervals into one, two, or three parts, depending on their overlap.