Overview  Index  Help 
Standard ML Basis Library

SML90


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

instream

type instream = TextIO.instream


outstream

type outstream = TextIO.outstream

     
Value detail

sqrt

val sqrt : real -> real


exp

val exp : real -> real


ln

val ln : real -> real


sin

val sin : real -> real


cos

val cos : real -> real


arctan

val arctan : real -> real


ord

val ord : string -> int


chr

val chr : int -> string


explode

val explode : string -> string list


implode

val implode : string list -> string


wrapIO

val wrapIO


std_in

val std_in : instream


open_in

val open_in : string -> instream


input

val input : instream * int -> string


lookahead

val lookahead : instream -> string


close_in

val close_in : instream -> unit


end_of_stream

val end_of_stream : instream -> bool


std_out

val std_out : outstream


open_out

val open_out : string -> outstream


output

val output : outstream * string -> unit


close_out

val close_out : outstream -> unit

 
Exception detail

Io

exception Io of string


Sqrt

exception Sqrt


Ln

exception Ln


Ord

exception Ord = General.Overflow


Abs

exception Abs = General.Overflow


Prod

exception Prod = General.Overflow


Neg

exception Neg = General.Overflow


Sum

exception Sum = General.Overflow


Diff

exception Diff = General.Overflow


Floor

exception Floor = General.Overflow


Exp

exception Exp = General.Overflow


Quot

exception Quot = General.Div


Mod

exception Mod = General.Div


Interrupt

exception Interrupt


Overview  Index  Help 
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).