Re: Manipulating Strings in Sicstus Prolog
- From: Andreas Kochenburger <akk@xxxxxxxxxx>
- Date: Fri, 09 Jun 2006 11:11:18 +0200
On 09 Jun 2006 07:31:42 GMT, Jan Wielemaker <jan@xxxxxxxxxxxxxxxxxxx>
wrote:
SWI-Prolog provides strings as a primitive datatype. Actually the result
of adopting them from an early draft of the ISO standard. Strings never
made it to the standard.
For representing text we have what is normally called a `string' in
Prolog: a list of character codes (one-letter atoms is an alternative
provided by ISO, generally causing more confusion that providing anything
useful).
The standard (I have only a copy of a draft) cites also backquoted
strings as valid tokens. Do backquoted strings have no other practical
usage than to provide a kind of "shorthand notification" for Prolog
text?
Andreas
-------
Et ceterum censeo, TV esse delendam.
.
- Follow-Ups:
- Re: Manipulating Strings in Sicstus Prolog
- From: Joachim Schimpf
- Re: Manipulating Strings in Sicstus Prolog
- References:
- Manipulating Strings in Sicstus Prolog
- From: nima.kaviani@xxxxxxxxx
- Re: Manipulating Strings in Sicstus Prolog
- From: Jan Wielemaker
- Manipulating Strings in Sicstus Prolog
- Prev by Date: Re: Matrices implementations
- Next by Date: Re: Manipulating Strings in Sicstus Prolog
- Previous by thread: Re: Manipulating Strings in Sicstus Prolog
- Next by thread: Re: Manipulating Strings in Sicstus Prolog
- Index(es):
Relevant Pages
|
|