Home | Trees | Indices | Help |
|
---|
|
Encapsulates functions used in osh commands such as f
and
select
.
osh function syntax:
[[lambda] ARGS:] EXPRESSION
ARGS
: Comma-separated list of function arguments,
optionally preceded by keyword lambda
. ARGS
may
be omitted only for a function with no arguments.
EXPRESSION
: A Python expression written in terms of the
function arguments.
Example:
x: max(x, 10)
Classes | |
NotAFunctionException |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Oct 3 15:23:48 2010 | http://epydoc.sourceforge.net |