[Maxima-lang-fr] Problème de portabilité du code utilisateur entre les différentes versions et plateformes de Maxima.
Subject: [Maxima-lang-fr] Problème de portabilité du code utilisateur entre les différentes versions et plateformes de Maxima.
From: Robert Dodier
Date: Wed, 29 Oct 2008 07:31:20 -0700
On 10/29/08, E. Rens <emmanuel_rens at fastmail.fm> wrote:
> Thank you very much for your answer, hereafter is an example that, run
> in 5.16.3, complains about ssearch not being fed with the correct types,
> but I encounter problems with other maxima functions, e.g. sunlisp. I'm
> not sure they're all related to strings.
In this particular case, the problem is that sconc no longer exists.
If you call sconcat instead of sconc, the Distinct function succeeds.
Also sunlisp no longer exists. It used to be that Maxima strings were
implemented as Lisp symbols, not Lisp strings, but now Maxima
strings are Lisp strings. That made some of the string functions
unnecessary. I'm sorry for the trouble.
> Is there a generic way to cope with this kind of failures?
Well, I have tried to list backwards-incompatible changes in the
ChangeLog files for releases, but now that I look at the last few,
I see that I overlooked the string function changes.
Asking on the mailing list is usually the fastest way to answer a
question, given the general disorganization of the existing information.
best
Robert Dodier