Waldek, I like your patch.
On _input_ side there is only one syntax: square brackets.
Sufficient for me at the moment. In fact, I don't know yet whether I like to have all the fancy input things that for example Mathematica offers. That's input sugar anyway, and can probably be added also to FriCAS if there is any need/wish.
Concerning output, I believe that that best is use the same form as for input. Round brackets in output come from original code, but it is easy to change them to square brackets.
Actually, currently I tend to favour square brackets even of round brackets are closer to what one would see in mathematics. Square brackets make it currently easier to cut&paste.
It's not my final word. Future might bring better input output support, but currently, I'm for square brackets.
a: Pr := [1,x]
Yes, that should work, because the compiler (and also the interpreter get a clear hint of what the target type should be.
Ralf -- 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.
