File: sStream.mli

package info (click to toggle)
sks 1.1.6-14
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,296 kB
  • sloc: ml: 15,228; ansic: 1,069; sh: 358; makefile: 347
file content (5 lines) | stat: -rw-r--r-- 233 bytes parent folder | download | duplicates (5)
1
2
3
4
5
type 'a sstream = { mutable first : 'a option; next : unit -> 'a option; }
val make : ?first:'a -> (unit -> 'a option) -> 'a sstream
val next : 'a sstream -> 'a option
val peek : 'a sstream -> 'a option
val junk : 'a sstream -> unit