package miou

  1. Overview
  2. Docs

Module Miou.SequenceSource

Sourcetype 'a t
Sourcetype 'a node
Sourcetype direction =
  1. | Right
  2. | Left
Sourceexception Empty
Sourceval create : unit -> 'a t
Sourceval take : direction -> 'a t -> 'a
Sourceval peek_node : direction -> 'a t -> 'a node
Sourceval add : direction -> 'a t -> 'a -> 'a node
Sourceval drop : 'a t -> unit
Sourceval length : 'a t -> int
Sourceval exists : ('a -> bool) -> 'a t -> bool
Sourceval iter : f:('a -> unit) -> 'a t -> unit
Sourceval iter_node : f:('a node -> unit) -> 'a t -> unit
Sourceval is_empty : 'a t -> bool
Sourceval remove : 'a node -> unit
Sourceval data : 'a node -> 'a
Sourceval to_list : 'a t -> 'a list
OCaml

Innovation. Community. Security.