From clee@cc.NCTU.edu.tw  Mon Oct 25 08:24:27 1999
Received: from M-Relay.HcRC.edu.tw (m-relay.HcRC.edu.tw [163.28.64.11])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id IAA05152
	for <prolog@swi.psy.uva.nl>; Mon, 25 Oct 1999 08:24:24 +0200 (MET DST)
From: clee@cc.NCTU.edu.tw
Received: from cc.Nctu.edu.tw (root@ccserv6.cc.nctu.edu.tw [140.113.6.6])
	by M-Relay.HcRC.edu.tw (8.9.3/8.9.3) with ESMTP id OAA08141
	for <prolog@swi.psy.uva.nl>; Mon, 25 Oct 1999 14:24:43 +0800 (CST)
Received: from sun1000.cc.nctu.edu.tw (clee@sun1000 [140.113.6.5])
	by cc.Nctu.edu.tw (8.9.3/8.9.3) with ESMTP id OAA01579
	for <prolog@swi.psy.uva.nl>; Mon, 25 Oct 1999 14:40:45 +0800 (CST)
Received: (from clee@localhost)
	by sun1000.cc.nctu.edu.tw (8.8.8+Sun/8.8.8) id OAA24663
	for prolog@swi.psy.uva.nl; Mon, 25 Oct 1999 14:41:10 +0800 (CST)
Message-Id: <199910250641.OAA24663@sun1000.cc.nctu.edu.tw>
Subject: single quotes
To: prolog@swi.psy.uva.nl
Date: Mon, 25 Oct 1999 14:41:08 +0800 (CST)
X-Mailer: ELM [version 2.4ME+ PL31 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

I am using SWI-Prolog 3.2.8 for Windows.  According to Clocksin and
Mellish (1987):

	"If an atom is enclosed in single quotes "'", then the atom 
	may have any characters in its name." p. 22.

However, in the following statement for a finite state transducer:

	arc(0,1,'-'/a).

I get the following error message from SWI-Prolog:

	[WARNING: (d:/pl/bin/test.pl:1)
	        d:/pl/bin/test.pl:1: Syntax error: Operator expected]

If I change '-' to a simple atom, then there is no problem.  If I change the
arc statement to:

	arc(0,1,a/'-').

There there is no problem.  I do not find this problem with Sicstus Prolog.

What is going on here?

--Charles

