maptype
apply a procedure to each operand of an expression of a specified type
Calling Sequence
Parameters
Description
Examples
maptype(typ, fcn, expr, arg2,..., argn)
typ
-
type
fcn
procedure or name
expr
expression
argi
(optional) further arguments to fcn
If expr is of type typ, the function map(fcn, expr, arg3, ..., argn) is evaluated. Otherwise, fcn⁡expr,arg3,...,argn is returned.
maptype⁡`+`,f,y⁢z
f⁡y⁢z
maptype⁡`+`,f,x+y⁢z
f⁡y⁢z+f⁡x
See Also
map
Download Help Document