guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gensym


From: Dale P. Smith
Subject: gensym
Date: Thu, 7 Sep 2000 09:06:41 -0400

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.
address@hidden
400-746-9000 x309


reply via email to

[Prev in Thread] Current Thread [Next in Thread]