Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /sml/trunk/src/compiler/PervEnv/IO/imperative-io.sig
ViewVC logotype

Annotation of /sml/trunk/src/compiler/PervEnv/IO/imperative-io.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 168 - (view) (download) (as text)

1 : monnier 93 (* imperative-io.sig
2 : monnier 16 *
3 :     * COPYRIGHT (c) 1995 AT&T Bell Laboratories.
4 :     *
5 :     *)
6 :    
7 :     signature IMPERATIVE_IO =
8 :     sig
9 :     type vector
10 :     type elem
11 :    
12 :     type instream
13 :     type outstream
14 :    
15 :     val input : instream -> vector
16 :     val input1 : instream -> elem option
17 :     val inputN : (instream * int) -> vector
18 :     val inputAll : instream -> vector
19 :     val canInput : (instream * int) -> int option
20 :     val lookahead : instream -> elem option
21 :     val closeIn : instream -> unit
22 :     val endOfStream : instream -> bool
23 :    
24 :     val output : (outstream * vector) -> unit
25 :     val output1 : (outstream * elem) -> unit
26 :     val flushOut : outstream -> unit
27 :     val closeOut : outstream -> unit
28 :    
29 :     structure StreamIO : STREAM_IO
30 :     sharing type vector = StreamIO.vector
31 :     sharing type elem = StreamIO.elem
32 :    
33 :     val mkInstream : StreamIO.instream -> instream
34 :     val getInstream : instream -> StreamIO.instream
35 :     val setInstream : (instream * StreamIO.instream) -> unit
36 :    
37 :     val getPosOut : outstream -> StreamIO.out_pos
38 :     val setPosOut : (outstream * StreamIO.out_pos) -> unit
39 :     val mkOutstream : StreamIO.outstream -> outstream
40 :     val getOutstream : outstream -> StreamIO.outstream
41 :     val setOutstream : (outstream * StreamIO.outstream) -> unit
42 :    
43 :     end;
44 :    
45 :     (*
46 : monnier 167 * $Log: imperative-io.sig,v $
47 :     * Revision 1.1.1.1 1998/04/08 18:39:55 george
48 :     * Version 110.5
49 :     *
50 : monnier 16 *)

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0