@@ -234,25 +234,25 @@ module Gen : sig
234234 Each of the given generators are chosen based on a positive integer weight.
235235 @deprecated use {!oneof_weighted} instead. *)
236236
237- val oneof_weighted_list : (int * 'a ) list -> 'a t
237+ val oneof_list_weighted : (int * 'a ) list -> 'a t
238238 (* * Constructs a generator that selects among a given list of values.
239239 Each of the given values are chosen based on a positive integer weight.
240240 @since NEXT_RELEASE *)
241241
242- val frequencyl : (int * 'a ) list -> 'a t [@@ deprecated "Use [oneof_weighted_list ] instead" ]
242+ val frequencyl : (int * 'a ) list -> 'a t [@@ deprecated "Use [oneof_list_weighted ] instead" ]
243243 (* * Constructs a generator that selects among a given list of values.
244244 Each of the given values are chosen based on a positive integer weight.
245- @deprecated use {!oneof_weighted_list } instead. *)
245+ @deprecated use {!oneof_list_weighted } instead. *)
246246
247- val oneof_weighted_array : (int * 'a ) array -> 'a t
247+ val oneof_array_weighted : (int * 'a ) array -> 'a t
248248 (* * Constructs a generator that selects among a given array of values.
249249 Each of the array entries are chosen based on a positive integer weight.
250250 @since NEXT_RELEASE *)
251251
252- val frequencya : (int * 'a ) array -> 'a t [@@ deprecated "Use [oneof_weighted_array ] instead" ]
252+ val frequencya : (int * 'a ) array -> 'a t [@@ deprecated "Use [oneof_array_weighted ] instead" ]
253253 (* * Constructs a generator that selects among a given array of values.
254254 Each of the array entries are chosen based on a positive integer weight.
255- @deprecated use {!oneof_weighted_array } instead. *)
255+ @deprecated use {!oneof_array_weighted } instead. *)
256256
257257 val shuffle_array : 'a array -> 'a array t
258258 (* * Creates a generator of shuffled arrays.
@@ -270,7 +270,7 @@ module Gen : sig
270270 (* * Creates a generator of shuffled lists.
271271 @deprecated Use {!shuffle_list} instead. *)
272272
273- val shuffle_weighted_list : (int * 'a ) list -> 'a list t
273+ val shuffle_list_weighted : (int * 'a ) list -> 'a list t
274274 (* * Creates a generator of weighted shuffled lists. A given list is shuffled on each
275275 generation according to the weights of its elements. An element with a larger weight
276276 is more likely to be at the front of the list than an element with a smaller weight.
@@ -283,10 +283,10 @@ module Gen : sig
283283
284284 @since NEXT_RELEASE *)
285285
286- val shuffle_w_l : (int * 'a ) list -> 'a list t [@@ deprecated "Use [shuffle_weighted_list ] instead" ]
287- (* * An alias for {!shuffle_weighted_list } since NEXT_RELEASE.
286+ val shuffle_w_l : (int * 'a ) list -> 'a list t [@@ deprecated "Use [shuffle_list_weighted ] instead" ]
287+ (* * An alias for {!shuffle_list_weighted } since NEXT_RELEASE.
288288 @since 0.11
289- @deprecated use {!shuffle_weighted_list } instead. *)
289+ @deprecated use {!shuffle_list_weighted } instead. *)
290290
291291 val range_subset : size :int -> int -> int -> int array t
292292 (* * [range_subset ~size:k low high] generates an array of length [k]
@@ -1812,27 +1812,27 @@ val frequency : ?print:'a Print.t -> ?small:('a -> int) ->
18121812(* * Similar to {!oneof} but with frequencies.
18131813 @deprecated use {!oneof_weighted} instead. *)
18141814
1815- val oneof_weighted_list : ?print : 'a Print .t -> ?small : ('a -> int ) ->
1815+ val oneof_list_weighted : ?print : 'a Print .t -> ?small : ('a -> int ) ->
18161816 (int * 'a ) list -> 'a arbitrary
18171817(* * Same as {!oneof_list}, but each element is paired with its frequency in
18181818 the probability distribution (the higher, the more likely).
18191819 @since NEXT_RELEASE *)
18201820
18211821val frequencyl : ?print : 'a Print .t -> ?small : ('a -> int ) ->
1822- (int * 'a ) list -> 'a arbitrary [@@ deprecated "Use [oneof_weighted_list ] instead" ]
1822+ (int * 'a ) list -> 'a arbitrary [@@ deprecated "Use [oneof_list_weighted ] instead" ]
18231823(* * Same as {!oneof_list}, but each element is paired with its frequency in
18241824 the probability distribution (the higher, the more likely).
1825- @deprecated use {!oneof_weighted_list } instead. *)
1825+ @deprecated use {!oneof_list_weighted } instead. *)
18261826
1827- val oneof_weighted_array : ?print : 'a Print .t -> ?small : ('a -> int ) ->
1827+ val oneof_array_weighted : ?print : 'a Print .t -> ?small : ('a -> int ) ->
18281828 (int * 'a ) array -> 'a arbitrary
1829- (* * Same as {!oneof_weighted_list }, but with an array.
1829+ (* * Same as {!oneof_list_weighted }, but with an array.
18301830 @since NEXT_RELEASE *)
18311831
18321832val frequencya : ?print : 'a Print .t -> ?small : ('a -> int ) ->
1833- (int * 'a ) array -> 'a arbitrary [@@ deprecated "Use [oneof_weighted_array ] instead" ]
1834- (* * Same as {!oneof_weighted_list }, but with an array.
1835- @deprecated use {!oneof_weighted_array } instead. *)
1833+ (int * 'a ) array -> 'a arbitrary [@@ deprecated "Use [oneof_array_weighted ] instead" ]
1834+ (* * Same as {!oneof_list_weighted }, but with an array.
1835+ @deprecated use {!oneof_array_weighted } instead. *)
18361836
18371837val map : ?rev : ('b -> 'a ) -> ('a -> 'b ) -> 'a arbitrary -> 'b arbitrary
18381838(* * [map f a] returns a new arbitrary instance that generates values using
0 commit comments