mirror of
https://github.com/LCPQ/quantum_package
synced 2024-08-25 05:51:46 +02:00
11 lines
305 B
OCaml
11 lines
305 B
OCaml
|
type t = int list with sexp
|
||
|
|
||
|
(** A range is a sorted list of ints in an interval.
|
||
|
It is created using a string :
|
||
|
"[a-b]" : range between a and b (included)
|
||
|
"[a]" : the list with only one integer a
|
||
|
"a" : equivalent to "[a]"
|
||
|
*)
|
||
|
val of_string : string -> t
|
||
|
val to_string : t -> string
|