small fix in doc of Gen

This commit is contained in:
Simon Cruanes 2013-11-12 15:53:48 +01:00
parent 5ad2b2df83
commit 20ac91f532

View file

@ -179,8 +179,8 @@ module type S = sig
(** Equality of generators. *)
val lexico : ?cmp:('a -> 'a -> int) -> 'a t -> 'a t -> int
(** Lexicographic comparison of generators. If the common prefix is
the same, the shortest one is considered as smaller than the other. *)
(** Lexicographic comparison of generators. If a generator is a prefix
of the other one, it is considered smaller. *)
val compare : ?cmp:('a -> 'a -> int) -> 'a t -> 'a t -> int
(** Synonym for {! lexico} *)