Safe Haskell | None |
---|
Data.Store.Selection
- (.<) :: GetDimension n (Index irs ts) => (tag, n) -> DimensionType n irs ts -> Selection tag krs irs ts
- (.<=) :: GetDimension n (Index irs ts) => (tag, n) -> DimensionType n irs ts -> Selection tag krs irs ts
- (.>) :: GetDimension n (Index irs ts) => (tag, n) -> DimensionType n irs ts -> Selection tag krs irs ts
- (.>=) :: GetDimension n (Index irs ts) => (tag, n) -> DimensionType n irs ts -> Selection tag krs irs ts
- (./=) :: GetDimension n (Index irs ts) => (tag, n) -> DimensionType n irs ts -> Selection tag krs irs ts
- (.==) :: GetDimension n (Index irs ts) => (tag, n) -> DimensionType n irs ts -> Selection tag krs irs ts
- (.&&) :: (IsSelection s1, IsSelection s2) => s1 tag krs irs ts -> s2 tag krs irs ts -> Selection tag krs irs ts
- (.||) :: (IsSelection s1, IsSelection s2) => s1 tag krs irs ts -> s2 tag krs irs ts -> Selection tag krs irs ts
- not :: IsSelection sel => sel tag krs irs ts -> Selection tag krs irs ts
- all :: [Selection tag krs irs ts] -> Selection tag krs irs ts
- all1D :: (tag, n) -> [(tag, n) -> Selection tag krs irs ts] -> Selection tag krs irs ts
- any :: [Selection tag krs irs ts] -> Selection tag krs irs ts
- any1D :: (tag, n) -> [(tag, n) -> Selection tag krs irs ts] -> Selection tag krs irs ts
- class IsSelection sel where
- data Selection tag krs irs ts
Documentation
(.<) :: GetDimension n (Index irs ts) => (tag, n) -> DimensionType n irs ts -> Selection tag krs irs tsSource
The expression (sDim .< c
) is a selection that includes value
x
if and only if it is indexed in the sDim
dimension with a key k
such that k < c
.
Complexity of
: O(log n + k)
resolve
(.<=) :: GetDimension n (Index irs ts) => (tag, n) -> DimensionType n irs ts -> Selection tag krs irs tsSource
The expression (sDim .<= c
) is a selection that includes value
x
if and only if it is indexed in the sDim
dimension with a key k
such that k <= c
.
Complexity of
: O(log n + k)
resolve
(.>) :: GetDimension n (Index irs ts) => (tag, n) -> DimensionType n irs ts -> Selection tag krs irs tsSource
The expression (sDim .> c
) is a selection that includes value
x
if and only if it is indexed in the sDim
dimension with a key k
such that k > c
.
Complexity of
: O(log n + k)
resolve
(.>=) :: GetDimension n (Index irs ts) => (tag, n) -> DimensionType n irs ts -> Selection tag krs irs tsSource
The expression (sDim .>= c
) is a selection that includes value
x
if and only if it is indexed in the sDim
dimension with a key k
such that k >= c
.
Complexity of
: O(log n + k)
resolve
(./=) :: GetDimension n (Index irs ts) => (tag, n) -> DimensionType n irs ts -> Selection tag krs irs tsSource
The expression (sDim ./= c
) is a selection that includes value
x
if and only if it is indexed in the sDim
dimension with a key k
such that k /= c
.
Complexity of
: O(n)
resolve
(.==) :: GetDimension n (Index irs ts) => (tag, n) -> DimensionType n irs ts -> Selection tag krs irs tsSource
The expression (sDim .== c
) is a selection that includes value
x
if and only if it is indexed in the sDim
dimension with a key k
such that k == c
.
Complexity of
: O(log n)
resolve
(.&&) :: (IsSelection s1, IsSelection s2) => s1 tag krs irs ts -> s2 tag krs irs ts -> Selection tag krs irs tsSource
The expression (s1 .&& s2
) is a selection that includes the
intersection of the selections s1
and s2
.
Complexity of
: O(c(s1) + c(s2) + s(s1) + s(s2)
resolve
(.||) :: (IsSelection s1, IsSelection s2) => s1 tag krs irs ts -> s2 tag krs irs ts -> Selection tag krs irs tsSource
The expression (s1 .|| s2
) is a selection that includes the
union of the selections s1
and s2
.
Complexity of
: O(c(s1) + c(s2) + s(s1) + s(s2)
resolve
not :: IsSelection sel => sel tag krs irs ts -> Selection tag krs irs tsSource
The expression (not' sel
) is a selection that includes all values
except those that match the selection sel
.
all :: [Selection tag krs irs ts] -> Selection tag krs irs tsSource
Selection that matches the intersection of all the selections in the list or everything if the list is empty.
any :: [Selection tag krs irs ts] -> Selection tag krs irs tsSource
Selection that matches the union of all the selections in the list or nothing if the list is empty.
class IsSelection sel whereSource
Instances