Overview  Index  Help 
Standard ML Basis Library

SML90

All Known Implementing Modules:

SML90


signature SML90 =
sig
  type instream
  type outstream
  exception Sqrt
  exception Ln
  exception Ord
  exception Io of string
  exception Abs
  exception Quot
  exception Prod
  exception Neg
  exception Sum
  exception Diff
  exception Floor
  exception Exp
  exception Interrupt
  exception Mod
  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 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


outstream

type 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


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

Sqrt

exception Sqrt


Ln

exception Ln


Ord

exception Ord


Io

exception Io of string


Abs

exception Abs


Quot

exception Quot


Prod

exception Prod


Neg

exception Neg


Sum

exception Sum


Diff

exception Diff


Floor

exception Floor


Exp

exception Exp


Interrupt

exception Interrupt


Mod

exception Mod


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).