NAME

txt.cam - a CAMILA library for text representation


SYNOPSYS

 txtFlat(l:txt):STR-seq 

 txt2File(fn:STR,t:txt):SYM 

 txtAddNL(l:txt):txt 


DESCRIPTION

This library provides for a simple representation of (nested) text.

Text can involve strings, integers and symbols.

The informal semantics of the operators are as follows:

txtFlat(l:txt):STR-seq

txtFlat(l) flattens l while converting integers and symbols to strings.

txt2File(fn:STR,t:txt):SYM

txt2File(fn,t) writes txt object t into file fn. This function will be replaced in future releases by ioTxt2File(fn,t) available in library io.cam.

txtAddNL(l:txt):txt

txtAddNL(l) adds newline characters to every ``line'' in l. This may help in avoiding too long lines when dumping txt objects to files via txt2File.


SEE ALSO

No include commands found.


AUTHOR

J.N. Oliveira (jno@di.uminho.pt)