Module Jenga_lib.Tenacious.Stream

Stream provides two things:

type 'a t
val unfold : 's ‑> ('s ‑> 'a * 's tenacious) ‑> name:string Core.Lazy.t ‑> 'a t
type ('a, 'res) query =
| Return of 'res
| Continue of 'a ‑> ('a'resquery
val query : 'a t ‑> ('a'resquery ‑> 'res tenacious