use lambda-closures where appropriate

Beginning with setlX v2.3.2, the syntax

  f := x |=> expr;

is supported as an abbreviation for

  f := closure(x) { return expr; };

Various example programs have been changed to make use of this fact.