Displaying character code lists

emacstheviking <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <CAEiEuULHTXg8WDm6d+fKfzU8wxdjjbHHiu_megPpq1GCZwTHqg@mail.gmail.com>
Is there a setting (check the prolog flags already, 'double_quotes' but
that is concerned with parsing no display) that can change the display of a
list of codes so it more resembles a coventional string. If I do this:

*| ?- atom_codes(':no', X).*

*X = [58,110,111].*

But I would like it to show as:

*X = ":no"*

With the double quotes signifying it is now a list of character codes. It
would make visual inspection of terms much more readable if I could see
"strings" not [....] lists.

Thanks,
Sean.

_______________________________________________
Users-prolog mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/users-prolog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.