mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
small doc
This commit is contained in:
parent
01e8720797
commit
f254a0f6e4
1 changed files with 2 additions and 0 deletions
|
|
@ -47,6 +47,8 @@ val take_back : 'a t -> ('a t * 'a) option
|
||||||
(** Take last element *)
|
(** Take last element *)
|
||||||
|
|
||||||
val take_back_exn : 'a t -> ('a t * 'a)
|
val take_back_exn : 'a t -> ('a t * 'a)
|
||||||
|
(** Same as {!take_back}, but fails on empty queues.
|
||||||
|
@raise Empty if the queue is empty *)
|
||||||
|
|
||||||
val take_back_l : int -> 'a t -> 'a t * 'a list
|
val take_back_l : int -> 'a t -> 'a t * 'a list
|
||||||
(** [take_back_l n q] removes and returns the last [n] elements of [q]. The
|
(** [take_back_l n q] removes and returns the last [n] elements of [q]. The
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue