Arc Forumnew | comments | leaders | submitlogin
1 point by stefano 5901 days ago | link | parent

For global functions, I find the usual 'def to be more concise. As of for local functions, it could be quite handy, but possibilities of collision with names defined by 'defset seem quite high to me. I would prefer something similar to CL's 'labels:

  (flet (f (x) (expr x))
    whatever...)
and

  (fwith ((f (x) (expr x))
          (g (x) (f x)))
    whatever...)