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

SCM Repository

[smlnj] View of /sml/trunk/src/cml/src/IO/cml-bin-io-sig.sml
ViewVC logotype

View of /sml/trunk/src/cml/src/IO/cml-bin-io-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 844 - (download) (annotate)
Wed Jun 20 20:39:15 2001 UTC (18 years, 3 months ago) by blume
File size: 884 byte(s)
CML compiles and works again
(* cml-bin-io-sig.sml
 *
 * COPYRIGHT (c) 1995 AT&T Bell Laboratories.
 * COPYRIGHT (c) 1991 John H. Reppy.
 *
 * This extends the SMLBL BIN_IO interface with event-valued operations.
 *)

signature CML_BIN_IO =
  sig
    include CML_IMPERATIVE_IO
(*
      where type StreamIO.vector = Word8Vector.vector
      where type StreamIO.elem = Word8.word
      where type StreamIO.reader = BinPrimIO.reader
      where type StreamIO.writer = BinPrimIO.writer
      where type StreamIO.pos = BinPrimIO.pos = Position.int
*)

    val openIn     : string -> instream
    val openOut    : string -> outstream
    val openAppend : string -> outstream
  end
    where type StreamIO.vector = Word8Vector.vector
    where type StreamIO.elem = Word8.word
    where type StreamIO.reader = BinPrimIO.reader
    where type StreamIO.writer = BinPrimIO.writer
    where type StreamIO.pos = BinPrimIO.pos

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