Arc Forumnew | comments | leaders | submit | gosub's commentslogin
4 points by gosub 6133 days ago | link | parent | on: core language thingies

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 6124 days ago | link

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

-----