Version 1 of s

Updated 2002-12-12 10:12:33

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 - Combinator engine for much more.