[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: infix notation [Re: Macros and little languages]





>  (+ p q r)

Yes, not only do variadic operators make that
objection to prefix moot, but they also are
somewhat familiar from big sigmas, etc.  (is
",@" tangentially related, in terms of being
"forgetful" of extraneous tree structure?)

Lamport's "How to Write a Long Formula" (SRC119)
proposes an interesting notation which combines
both prefix and infix; I give a short example in:
"How to Write a Long Formula"
<http://lists.canonical.org/pipermail/kragen-discuss/2002-April/000811.html>

It is obviously more verbose than either prefix
or infix, but that may be a feature.  cf.
"Lisp syntax considered insufficiently redundant"
<http://lists.canonical.org/pipermail/kragen-tol/2002-April/000705.html>

-Dave