Exported Functions | |
---|---|
head/1 | |
left/2 | Moves the read/write head N positions left on the tape. |
new/1 | Creates and returns a new tape. |
peek/2 | |
poke/3 | |
read/1 | Returns the value at the current position on the tape. |
right/2 | Moves the read/write head N positions right on the tape. |
write/2 | Places the given value at the current position on the tape. |
head(Arg1) -> term()
left(tape(), N::integer()) -> {tape(), integer()}
Moves the read/write head N positions left on the tape.
Creates and returns a new tape.
For a description of the allowed options, see the documentation for
the pibfi
module.
peek(Arg1, Arg2) -> term()
poke(Arg1, Arg2, Arg3) -> term()
read(tape()) -> integer()
Returns the value at the current position on the tape.
right(tape(), N::integer()) -> {tape(), integer()}
Moves the read/write head N positions right on the tape.
write(tape(), integer()) -> {tape(), integer()}
Places the given value at the current position on the tape.