next up previous contents index
Next: array,pointer Up: Data Structures Previous: PrimitiveArray   Contents   Index


PrimitiveArrayType


Usage

import from PrimitiveArrayType T


Parameter Type Description
T Type the type of the array entries


Description

PrimitiveArrayType is the category of primitive arrays whose entries are of type $T$.


Exports

FiniteLinearStructureType T
array: (Pointer, Z) $\to$ % conversion from a C-array
new: Z $\to$ % creation of an array
pointer: % $\to$ Pointer conversion to a C-array
resize!: (%, Z, Z) $\to$ % resize an array
sort!: (%, Z, Z, (T, T) $\to$ Boolean) $\to$ % sort an array


if $T$ has SerializableType then

read: (BinaryReader, Z) $\to$ % read using binary encoding
write: (BinaryWriter, %, Z) $\to$ BinaryWriter write using binary encoding


if $T$ has TotallyOrderedType then

sort!: (%, Z, Z) $\to$ % sort an array


where

Z == MachineInteger



Subsections
next up previous contents index
Next: array,pointer Up: Data Structures Previous: PrimitiveArray   Contents   Index
Manuel Bronstein 2004-06-28