Go to the first, previous, next, last section, table of contents.


Fast Reading and Writing of Terms

Author(s): Daniel Cabeza, Oscar Portela Arjona.

Version: 1.5#118 (2000/4/19, 18:13:43 CEST)

Version of last change: 1.5#81 (2000/3/23, 16:37:17 CET)

This library provides predicates to support reading / writing of terms on a format designed to be handled on read faster than standart representation.

Usage and interface (fastrw)

Documentation on exports (fastrw)

PREDICATE: fast_read/1:

fast_read(Term)

The next term is read from current standart input and is unified with Term. The syntax of the term must agree with fast_read / fast_write format. If the end of the input has been reached, Term is unified with the term 'end_of_file'. Further calls to fast_read/1 will then cause an error.

PREDICATE: fast_write/1:

fast_write(Term)

Output Term in a way that fast_read/1 will be able to read it back.

PREDICATE: fast_write_to_string/3:

No further documentation available for this predicate.


Go to the first, previous, next, last section, table of contents.