alice
library
manual.

Alice Project

The TEXT_STREAM_IO signature


________ Synopsis ____________________________________________________

    signature TEXT_STREAM_IO
    structure TextIO.StreamIO : TEXT_STREAM_IO
  

The Standard ML Basis' TEXT_STREAM_IO signature.

See also: STREAM_IO, TextIO


________ Import ______________________________________________________

Imported implicitly.


________ Interface ___________________________________________________

    signature TEXT_STREAM_IO =
    sig
	type elem   = char
	type vector = string

	type instream
	type pos
	type reader

	type outstream
	type out_pos
	type writer

	val input :         instream -> string * instream
	val input1 :        instream -> (char * instream) option
	val inputN :        instream * int -> string * instream
	val inputLine :     instream -> (string * instream) option
	val inputAll :      instream -> string * instream
	val canInput :      instream * int -> int option
	val closeIn :       instream -> unit
	val endOfStream :   instream -> bool
	val mkInstream :    reader * string -> instream
	val getReader :     instream -> reader * string

	val output :        outstream * string -> unit
	val output1 :       outstream * char -> unit
	val outputSubstr :  outstream * substring -> unit
	val flushOut :      outstream -> unit
	val closeOut :      outstream -> unit
	val setBufferMode : outstream * IO.buffer_mode -> unit
	val getBufferMode : outstream -> IO.buffer_mode
	val mkOutstream :   writer * IO.buffer_mode -> outstream
	val getWriter :     outstream -> writer * IO.buffer_mode
	val getPosOut :     outstream -> out_pos
	val setPosOut :     out_pos -> outstream
    end
  

________ Description _________________________________________________

Like the Standard ML Basis' TEXT_STREAM_IO signature.

Limitations: The following standard functions are currently missing:



last modified 2007/Mar/30 17:10