[plt-scheme] Syntax question
I am hoping to get unbiased opinions from this group concerning
questions of syntax.
Java uses + as its string concatenation operator. This is reasonable,
since + is often used as the name of the operator in a monoid. Further, I
can imagine using + for append (as opposed to Haskell's ++) since lists
with append also form a monoid. If that's the case, then the cons
operator (say ML's ::) should have higher precedence than +.
EG
We'd rather write
(2+1)::2::1::[] + 0::[]
rather than
(2+1::2::1[]) + (0::[])
Yes?
-Arthur