Version 2 of s

Updated 2002-12-16 17:12:02

The S combinator is a sort-of generalised function application from combinator theory, the other most basic one being K.

  proc S {f g x} {
     $f $x [$g $x]
  }

See Hot curry or Combinator engine for much more.