Functional Programming Utilities (#3059)

The functional programming utilities ($func_utils) allow you to do rather basic functional programming. The basic verbs it provides are similar to the python functions that go by the same name. They are:

filter -- removes certain items from a sequence based upon the return value of a function
map -- replaces items from a sequence based upon the return value of a function
reduce -- concatonate values from a sequence based upon the return value of a function

Each of these functions is further explained with examples by typing 'help $func_utils:[verb]'.


You are not logged in.

[home | help | who | search | setup | code]