shakuhachi.query
SkhcQuery.Range
Operations on ranges.
shakuhachi.config
shakuhachi.database
shakuhachi.libs
shakuhachi.metadata
shakuhachi.plugin
shakuhachi.util
type 'a t =
| Value of 'a
| Range of 'a option * 'a option
type of range values.
val value : 'a -> 'a t
value v is Value v.
value v
Value v
val range : 'a option -> 'a option -> 'a t
range lhs rhs is Range lhs rhs.
range lhs rhs
Range lhs rhs
val to_string : ('a -> string) -> 'a t -> string
to_string some range is the string representation of range using some.
to_string some range
range
some
val matches : 'a t -> 'a -> bool
matches range v tests whether v matches ranges. All extrema borns are included.
matches range v
v
ranges