Arc Forumnew | comments | leaders | submitlogin
1 point by tokipin 6080 days ago | link | parent

when i see fn, i see "fundamental function-creating function." i see def as "(= name (fundamental function-creating function))." i said elsewhere that i can see how someone familiar with lisp would see fn and def as essentially lambda and set, and

  (lambda name (arg) ...)
would definitely be odd. but the name isn't "lambda," it's "fn." and i conceive that as "function," which has no semantic bias to locality or scope


1 point by almkglor 6080 days ago | link

ooh, ECMAscript:

  function foo(x){
    return function(){return x;}
  }

-----