reduce.icn: Procedure to perform operation on list of arguments

link reduce
January 14, 1995; Ralph E. Griswold
This file is in the public domain.

reduce(op, init, args[]) applies the binary operation op to all the
values in args, using init as the initial value.  For example,

     reduce("+", 1, args[])

produces the sum of the values in args.

Source code | Program Library Page | Icon Home Page