| Standard ML Basis Library |
signature UNSAFE_OBJECT =
sig
type object
datatype representation =
Unboxed
| Word32
| Real
| Pair
| Record
| Ref
| PolyVector
| PolyArray
| ByteVector
| ByteArray
| RealArray
| Susp
| WeakPtr
exception Representation
val toObject : 'a -> object
val mkTuple : object list -> object
val boxed : object -> bool
val unboxed : object -> bool
val rep : object -> representation
val length : object -> int
val toTuple : object -> object list
val toString : object -> string
val toRef : object -> object ref
val toArray : object -> object array
val toRealArray : object -> Real64Array.array
val toByteArray : object -> Word8Array.array
val toVector : object -> object vector
val toByteVector : object -> Word8Vector.vector
val toExn : object -> exn
val toReal : object -> real
val toInt : object -> int
val toInt32 : object -> Int32.int
val toWord : object -> Word.word
val toWord8 : object -> Word8.word
val toWord32 : object -> Word32.word
val nth : object * int -> object
end
Type detail |
---|
type object
Datatype detail |
---|
datatype representation =
Unboxed
| Word32
| Real
| Pair
| Record
| Ref
| PolyVector
| PolyArray
| ByteVector
| ByteArray
| RealArray
| Susp
| WeakPtr
DataConstructor detail |
---|
constructor Unboxed : representation
constructor Word32 : representation
constructor Real : representation
constructor Pair : representation
constructor Record : representation
constructor Ref : representation
constructor PolyVector : representation
constructor PolyArray : representation
constructor ByteVector : representation
constructor ByteArray : representation
constructor RealArray : representation
constructor Susp : representation
constructor WeakPtr : representation
Value detail |
---|
val toObject : 'a -> object
val mkTuple : object list -> object
val boxed : object -> bool
val unboxed : object -> bool
val rep : object -> representation
val toTuple : object -> object list
val toString : object -> string
val toRef : object -> object ref
val toArray : object -> object array
val toRealArray : object -> Real64Array.array
val toByteArray : object -> Word8Array.array
val toVector : object -> object vector
val toByteVector : object -> Word8Vector.vector
val toInt32 : object -> Int32.int
val toWord : object -> Word.word
val toWord8 : object -> Word8.word
val toWord32 : object -> Word32.word
val nth : object * int -> object
Exception detail |
---|
exception Representation
| 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). |