Module ce_tot

Tuple-of-tuples library.

Description

Tuple-of-tuples library.

Function Index

fold/3Applies a fun/2 to every element of a tuple of tuples, in row major order.
from_lol/1
get/3Retrieves a single term from the given X,Y location in a tuple of tuples.
new/3Constructs a new tuple of tuples of the given width and height.
print/1Displays the tuple of tuples on the standard output.
put/4Replaces a term with a new term in a tuple of tuples.
to_lol/1

Function Details

fold/3

fold(Fun::'fun'(), ToT::tot(), Acc::term()) -> term()

Applies a fun/2 to every element of a tuple of tuples, in row major order.

from_lol/1

from_lol() -> term()

get/3

get(X::integer(), Y::integer(), Tot::tot()) -> term()

Retrieves a single term from the given X,Y location in a tuple of tuples.

new/3

new(W::integer(), H::integer(), Cell::term()) -> tot()

Constructs a new tuple of tuples of the given width and height.

print/1

print(ToT::tot()) -> ok

Displays the tuple of tuples on the standard output. Assumes that each term in the ToT is a string.

put/4

put(X::integer(), Y::integer(), Tot::tot(), V::term()) -> tot()

Replaces a term with a new term in a tuple of tuples.

to_lol/1

to_lol() -> term()


Generated by EDoc, Feb 18 2008, 06:48:10.