>    a $ b $ c $ x
> Equals to a(b(c(x))),
> In Fricas, I'd like to write "a b c x".

I also like this without parentheses. But not always. For example, a
particular ugly cases

    foo bar.fieldname

In such constructions I would write foo(bar.fieldname) just to make it
clearer for someone who does not remember the precedence rules.
That FriCAS uses a b x for a(b(x)) and not for (a(b))(x) like Haskell
doesn't bother me too much SPAD is not Haskell. But whether
juxtaposition or the . binds stronger is a case that is easily confused.
Somewhat similar to the problem of interpreting *arr[] if you are not an
everyday C-programmer.

I'm with Waldek, that clarity for the reader should be the goal.

Ralf

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to