Another note on the Spad language:
for a record
Foo(coef: Integer, exp: Integer, root: Integer),
its setting syntax by [1, 3, 2] :: Foo
is a bug farm.
Is not it?
The syntax like [coef := 1, exp := 3, root := 2]
(replace `:=' with something appropriate)
is much more safe. And here the named fieds can be transposed, the
programmer will not need to remember the order of, say, 6 fields.
Regards,
------
Sergei
[email protected]
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en.