File: sStream.mli

package info (click to toggle)
sks 1.1.5-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 2,076 kB
  • sloc: ml: 15,262; ansic: 1,069; makefile: 346; sh: 279
file content (5 lines) | stat: -rw-r--r-- 233 bytes parent folder | download | duplicates (7)
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