| Standard ML Basis Library |
structure SML90 :> SML90 =
struct
type instream = TextIO.instream
type outstream = TextIO.outstream
exception Io of string
exception Sqrt
exception Ln
exception Ord = General.Overflow
exception Abs = General.Overflow
exception Prod = General.Overflow
exception Neg = General.Overflow
exception Sum = General.Overflow
exception Diff = General.Overflow
exception Floor = General.Overflow
exception Exp = General.Overflow
exception Quot = General.Div
exception Mod = General.Div
exception Interrupt
val sqrt : real -> real
val exp : real -> real
val ln : real -> real
val sin : real -> real
val cos : real -> real
val arctan : real -> real
val ord : string -> int
val chr : int -> string
val explode : string -> string list
val implode : string list -> string
val wrapIO
val std_in : instream
val open_in : string -> instream
val input : instream * int -> string
val lookahead : instream -> string
val close_in : instream -> unit
val end_of_stream : instream -> bool
val std_out : outstream
val open_out : string -> outstream
val output : outstream * string -> unit
val close_out : outstream -> unit
end
Type detail |
---|
type instream = TextIO.instream
type outstream = TextIO.outstream
Value detail |
---|
val explode : string -> string list
val implode : string list -> string
val wrapIO
val std_in : instream
val open_in : string -> instream
val input : instream * int -> string
val lookahead : instream -> string
val close_in : instream -> unit
val end_of_stream : instream -> bool
val std_out : outstream
val open_out : string -> outstream
val output : outstream * string -> unit
val close_out : outstream -> unit
Exception detail |
---|
exception Io of string
exception Sqrt
exception Ln
exception Ord = General.Overflow
exception Abs = General.Overflow
exception Prod = General.Overflow
exception Neg = General.Overflow
exception Sum = General.Overflow
exception Diff = General.Overflow
exception Floor = General.Overflow
exception Exp = General.Overflow
exception Quot = General.Div
exception Mod = General.Div
exception Interrupt
| Standard ML Basis Library |
This document may be distributed freely over the internet as long as the copyright notice and license terms below are prominently displayed within every machine-readable copy.
Copyright © 2003 AT&T and Lucent Technologies. All rights reserved.
Permission is granted for internet users to make one paper copy for their
own personal use. Further hardcopy reproduction is strictly prohibited.
Permission to distribute the HTML document electronically on any medium
other than the internet must be requested from the copyright holders by
contacting the editors.
Printed versions of the SML Basis Manual are available from Cambridge
University Press.
To order, please visit
www.cup.org (North America) or
www.cup.cam.ac.uk (outside North America). |