home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BURKS 2
/
BURKS_AUG97.ISO
/
BURKS
/
LANGUAGE
/
ML
/
GIML
/
LIB-BASE.SML
< prev
next >
Wrap
Text File
|
1996-12-09
|
964b
|
33 lines
(* lib-base.sml
*
* COPYRIGHT (c) 1993 by AT&T Bell Laboratories. See COPYRIGHT file for details.
*)
structure LibBase : LIB_BASE =
struct
(* raised to report unimplemented features *)
exception Unimplemented of string
(* raised to report internal errors *)
exception Impossible of string
(* raised to report semantically incorrect arguments. For consistency,
* the string should include the library module and function names.
* The function badArg is provided for this purpose.
*)
exception BadArg of string
(* raise the exception BadArg with a standard format message. *)
fun badArg {module, func, msg} =
raise (BadArg(implode[module, ".", func, ": ", msg]))
(* this is returned by collating functions *)
datatype relation = Equal | Less | Greater
val version = {major = 0, minor = 2, date = "August 30, 1993"}
val versionName = "SML/NJ Library, Version 0.2, August 30, 1993"
end (* LibBase *)