Ralf Hemmecke wrote:
>
> Hi Peter, hi Waldek, (and fricas-devel list),
>
> since I wanted to take advantage of Aldor's ability to show me exactly
> which functions are still unimplemented, I tried to compile a .spad file
> with Aldor.
>
> There were a few expected problems because the Aldor compiler is more
> strict with respect to types. But then I hit the problem with a missing
> setelt!.
>
> Obviously, in libfricas, we have "set!" instead of "setelt!". That's
> necessary so that assignment "a(i,j,k) := val" works in Aldor.
> Unfortunately, I was using "setelt!" by its name and stumpled over the
> problem that "setelt!" is actually missing. (Below shown for the domain
> "Reference".
>
> Of course, that's not a very big problem, but in order to make the
> languages SPAD and Aldor more similar, it would be good, if "setelt!"
> would be renamed to "set!" in FriCAS.
>
> find . -type f -exec grep --color -nH -e 'setelt!' {} +|grep -Ev
> 'qsetelt!|~:|ChangeLog'| grep --color 'setelt!'|wc -l
> 361
>
> Waldek, I know it's only a cosmetic change but would you approve such a
> patch?
I do not why Aldor changed name. To say the truth 'setelt!' is
more descriptive so looks like a better name.
I have no obection in principle, but the question is who should
adapt:
- if Aldor has good reasons to change then it makes sense to follow
- if change in Aldor was without reason, then it would make sense
to change Aldor
- if for some reason Aldor _needs_ different name, then we just
should live with it.
--
Waldek Hebisch