~npalix/coccinelle/upstream

« back to all changes in this revision

Viewing changes to bundles/stdcompat/stdcompat-current/interfaces/3.08/stream.mli

  • Committer: Thierry Martinez
  • Date: 2019-08-20 13:37:04 UTC
  • Revision ID: git-v1:0214afad4a32c95349c2c5a38e37cea407c455d0
Update bundles

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
type 'a t
 
2
exception Failure 
 
3
exception Error of string 
 
4
val from : (int -> 'a option) -> 'a t
 
5
val of_list : 'a list -> 'a t
 
6
val of_string : string -> char t
 
7
val of_channel : in_channel -> char t
 
8
val iter : ('a -> unit) -> 'a t -> unit
 
9
val next : 'a t -> 'a
 
10
val empty : 'a t -> unit
 
11
val peek : 'a t -> 'a option
 
12
val junk : 'a t -> unit
 
13
val count : 'a t -> int
 
14
val npeek : int -> 'a t -> 'a list
 
15
val iapp : 'a t -> 'a t -> 'a t
 
16
val icons : 'a -> 'a t -> 'a t
 
17
val ising : 'a -> 'a t
 
18
val lapp : (unit -> 'a t) -> 'a t -> 'a t
 
19
val lcons : (unit -> 'a) -> 'a t -> 'a t
 
20
val lsing : (unit -> 'a) -> 'a t
 
21
val sempty : 'a t
 
22
val slazy : (unit -> 'a t) -> 'a t
 
23
val dump : ('a -> unit) -> 'a t -> unit