small doc

This commit is contained in:
Simon Cruanes 2017-09-18 10:38:54 +02:00
parent 01e8720797
commit f254a0f6e4

View file

@ -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