In aldor 'elt' was renamed to 'apply' - since it can be used for things other than data structure like domains. So, setelt! had to become something a bit more general as well, and set! was chosen.
It may be possible to add a 'use fricas names' flag to aldor for use when compiling fricas code. This is probably the simplest solution if the fricas name is kept. (it will take time to implement, of course). On Mon, 2 Dec 2019 at 16:49, Waldek Hebisch <[email protected]> wrote: > > 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 > > -- > You received this message because you are subscribed to the Google Groups > "FriCAS - computer algebra system" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/fricas-devel/E1ibot9-0001zZ-OM%40hera.math.uni.wroc.pl. -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/CAK%3DmBN-KKHjwRkx_7X%3DaDAGy35RkRQKP2kFz%2BseanrbqveDRVg%40mail.gmail.com.
