| Did you know ... | Search Documentation: |
| codesio.pl -- I/O on Lists of Character Codes |
This module emulates the SICStus library codesio.pl for reading and writing from/to lists of character codes. Most of these predicates are straight calls into similar SWI-Prolog primitives.
This library is based on library(charsio) that originates from Quintus Prolog. The naming is updated to reflect the ISO naming conventions and the ISO predicates atom_codes/2, etc are obviously removed from this library.
format_to_codes(+Format, +Args, -Codes) is det
format_to_codes(+Format, +Args, -Codes, ?Tail) is det
write_to_codes(+Term, -Codes)
write_to_codes(+Term, -Codes, ?Tail)
write_term_to_codes(+Term, -Codes, +Options) is det
write_term_to_codes(+Term, -Codes, ?Tail, +Options) is det
read_from_codes(+Codes, -Term) is det
read_term_from_codes(+Codes, -Term, +Options) is det
open_codes_stream(+Codes, -Stream) is det
with_output_to_codes(:Goal, Codes) is detcurrent_output
is collected in Codes.
with_output_to_codes(:Goal, -Codes, ?Tail) is detcurrent_output
is collected in Codes\Tail.
with_output_to_codes(:Goal, -Stream, -Codes, ?Tail) is detcurrent_output.