mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
Fix typos
This commit is contained in:
parent
fcfd8f19b0
commit
3ccb3e16f7
1 changed files with 2 additions and 2 deletions
|
|
@ -39,14 +39,14 @@ val repeat : ?n:int -> 'a -> 'a t
|
||||||
then [x] is repeated forever. *)
|
then [x] is repeated forever. *)
|
||||||
|
|
||||||
val forever : (unit -> 'a) -> 'a t
|
val forever : (unit -> 'a) -> 'a t
|
||||||
(** [forever f] corresponds to the infinit sequence containing all the [f ()].
|
(** [forever f] corresponds to the infinite sequence containing all the [f ()].
|
||||||
@since 3.10 *)
|
@since 3.10 *)
|
||||||
|
|
||||||
val cycle : 'a t -> 'a t
|
val cycle : 'a t -> 'a t
|
||||||
(** Cycle through the iterator infinitely. The iterator shouldn't be empty. *)
|
(** Cycle through the iterator infinitely. The iterator shouldn't be empty. *)
|
||||||
|
|
||||||
val iterate : ('a -> 'a) -> 'a -> 'a t
|
val iterate : ('a -> 'a) -> 'a -> 'a t
|
||||||
(** [iterate f a] corresponds to the infinit sequence containing [a], [f a], [f (f a)],
|
(** [iterate f a] corresponds to the infinite sequence containing [a], [f a], [f (f a)],
|
||||||
...]
|
...]
|
||||||
@since 3.10 *)
|
@since 3.10 *)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue