This commit is contained in:
Simon Cruanes 2016-04-25 09:44:28 +02:00
parent bbacbe6137
commit f1f72855fa

View file

@ -422,7 +422,7 @@ val int_range_dec : start:int -> stop:int -> int t
See {!(--^)} for an infix version *)
val int_range_by : step:int -> int -> int -> int t
(** [int_range_by ~step i j] is the range starting at [i], excluding [j],
(** [int_range_by ~step i j] is the range starting at [i], including [j],
where the difference between successive elements is [step].
use a negative [step] for a decreasing sequence.
@raise Invalid_argument if [step=0] *)