gcl-devel
[Top][All Lists]
Advanced

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

$gensym


From: Camm Maguire
Subject: $gensym
Date: Sun, 05 Nov 2023 10:06:02 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Greetings!  Just to report that maxima's current use of $gensym (at
least as of commit b6d66ad4e which is doubtless out of date by now)
creates an implicit dependency on an unchanged *gensym-counter* binding,
i.e. that the sequence of lisp gensym names are presented to $gensym in
the conventional order.  Should an implementation reset the outer
binding of *gensym-counter*, this will generate test suite failures.  I
have a test case if anyone is interested.  The ansi spec says

*gensym-counter* can be either assigned or bound at any time, but its value 
must always be a non-negative integer.

This is obviously not too important, and gcl will make sure to stay
clear of this for maxima's sake.

Take care,
-- 
Camm Maguire                                        camm@maguirefamily.org
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah



reply via email to

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