TREE-OPER

[GENERIC-FUNCTION]


OMTristan
Function Reference
ARGUMENTS:
  - fun Function [default = (quote +)]
  - obj1? Obj1 [default = (quote (1 2))]
&optional
 
  - obj2? Obj2  

Description:

Applies a given function to the leaves of trees of <obj1?> and (optionally) of <obj2>.

Examples:
(tree-oper '+ 4 5) will return ? OM->9
(tree-oper 'list 4 5) will return ? OM->(4 5)
(tree-oper '+ '(1 2) '( 3 4)) will return ? OM->(4 6)



Auto doc generation by OpenMusic 7.0 © 2022 IRCAM