Hello,
Is there an easy way to convert a list of codes into an arbitrary term? atom_codes/2 and number_codes/2 both assume that the list of codes represents a specific type of data. Is there something that functions more like read_term but over an internal list of codes rather than an input stream?
In SWI it can be achieved using: term_codes(Term,Codes) :- atom_codes(A,Codes), atom_to_term(A,Term).
I couldn't find anything related in the Ciao Manual and was wondering how to go about writing: term_codes(Term,Codes) :- ... ?
Amoss
============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------