Module ce_tot

Description

Tuple-of-tuples library.

Function Index

Exported Functions
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

Exported Functions

fold/3

fold(fun(), tot(), term()) -> term()

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

from_lol/1

from_lol(Arg1) -> term()

get/3

get(integer(), integer(), tot()) -> term()

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

new/3

new(integer(), integer(), term()) -> tot()

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

print/1

print(tot()) -> ok

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

put/4

put(integer(), integer(), tot(), term()) -> tot()

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

to_lol/1

to_lol(Arg1) -> term()