The SML/NJ Library Reference Manual


The MONO_DYNAMIC_ARRAY signature


Synopsis

signature MONO_DYNAMIC_ARRAY

Interface

type elem
type array
val array : (int * elem) -> array
val subArray : (array * int * int) -> array
val fromList : (elem list * elem) -> array
val tabulate : (int * (int -> elem) * elem) -> array
val default : array -> elem
val sub : (array * int) -> elem
val update : (array * int * elem) -> unit
val bound : array -> int
val truncate : (array * int) -> unit

Description

type elem

type array

array (i, el)
explain the use and semantics of array HERE.

subArray (arr, i, j)
explain the use and semantics of subArray HERE.

fromList (l, el)
explain the use and semantics of fromList HERE.

tabulate (i, f, el)
explain the use and semantics of tabulate HERE.

default arr
explain the use and semantics of default HERE.

sub (arr, i)
explain the use and semantics of sub HERE.

update (arr, i, el)
explain the use and semantics of update HERE.

bound arr
explain the use and semantics of bound HERE.

truncate (arr, i)
explain the use and semantics of truncate HERE.



[ INDEX | TOP | Parent | Root ]

Last Modified May 29, 1996
Copyright © 1996 AT&T Research