Kent M Pitman <pitman@world.std.com> wrote:
+---------------
| cbarry@2xtreme.net (Christopher R. Barry) writes:
| > #\A instead of ?A...
|
| "?" is a bad choice of character becuase it frustrates Scheme programs
| who want to use "?" instead of "P" for the end of predicate names.
+---------------
Actually, IMHO that's not really a problem for Scheme people.
A more serious issue with "?A" would be that (at least, according
to several Lisp & Scheme texts I've read) a bunch of people tend
to use variables prefixed with "?" as "pattern match" variables,
e.g., similar to an example on p.161 of Norvig's PAIP:
> (setf foo '(joe is a big boy))
> (pat-match '(?x is a (?* ?y)) foo)
==> ((?x joe) (?y big boy))
-Rob
-----
Rob Warnock, 8L-855 rpw3@sgi.com
Applied Networking http://reality.sgi.com/rpw3/
Silicon Graphics, Inc. Phone: 650-933-1673
2011 N. Shoreline Blvd. FAX: 650-964-0811
Mountain View, CA 94043 PP-ASEL-IA