This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
gensym
- To: guile-user at gnu dot org
- Subject: gensym
- From: "Dale P. Smith" <dpsm at en dot com>
- Date: Thu, 7 Sep 2000 09:06:41 -0400
- List-Id: <guile-user.gnu.org>
- Organization: Altus Technologies Corporation.
I don't thing gensym is right yet.
There are about a dozen or so places in calling.scm where gensym is used
with a symbol, I thought recent changes required the first argument to
be a string. Trying it out, I find:
guile> (gensym "foo")
Backtrace:
0* [gsubr-apply #<primitive-procedure gensym> "foo"]
ERROR: In procedure gsubr-apply in expression (gensym "foo"):
ERROR: Wrong type argument in position 1 (expecting SYMBOLP): "foo"
ABORT: (wrong-type-arg)
guile> (gensym 'foo)
Backtrace:
0* [gsubr-apply #<primitive-procedure gensym> foo]
ERROR: In procedure gsubr-apply in expression (gensym (quote foo)):
ERROR: Wrong type argument: foo
ABORT: (wrong-type-arg)
guile> (gensym (string->symbol "foo"))
Backtrace:
0* [gsubr-apply #<primitive-procedure gensym> foo]
ERROR: In procedure gsubr-apply in expression (gensym (string->symbol
"foo")):
ERROR: Wrong type argument: foo
ABORT: (wrong-type-arg)
-Dale
--
Dale P. Smith
Altus Technologies Corp.
dsmith@altustech.com
400-746-9000 x309
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user