File reduce.icn

Summary

###########################################################################

	File:     reduce.icn

	Subject:  Procedure to perform operation on list of arguments

	Author:   Ralph E. Griswold

	Date:     January 14, 1995

###########################################################################

   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.

###########################################################################
Procedures:
reduce

This file is part of the (main) package.

Source code.

Details
Procedures:

reduce(op, init, args)



This page produced by UniDoc on 2021/04/15 @ 23:59:54.