package riot

  1. Overview
  2. Docs
type 'v t = 'v Stdlib.Seq.t
val next : 'v t -> ('v * 'v t) option
val unfold : ('src -> ('v * 'src) option) -> 'src -> 'v t
type 'acc control_flow = [
  1. | `continue of 'acc
  2. | `halt of 'acc
]
val reduce_while : 'acc -> ('item -> 'acc -> 'acc control_flow) -> 'item t -> 'acc
OCaml

Innovation. Community. Security.