Arc Forumnew | comments | leaders | submitlogin
4 points by gosub 6166 days ago | link | parent

Nice idea, an anonymous variable definition. It could be something like this:

    (if (> $(+ A C) B) (= A $))
that would be macro-expanded to

    (if (> (push (+ A C)) B) (= A (pop)))
or a let declaration. There could be also a push-quote that returns the argument evaluated but memorizes the quotation.


1 point by drcode 6157 days ago | link

I like this idea! It could aid in terseness- Though it's a little line-noisy...

-----