Synopsis:
f \ w -- apply the function f to each member of the list or sequence w returning a list or sequence containing the results. The same as apply(w,f).
This operator is right associative, which means that g \ f \ w is interpreted as meaning g \ (f \ w).
i1 : (j -> j^2) \ (i -> i+1) \ {1,2,3} |
The precendence is lower than that of @@. Hence, the following two examples yield the same result.
i2 : sin \ sin \ {1,2,3} |
i3 : sin @@ sin \ {1,2,3} |
See also:
Code:
-- ../../../Macaulay2/m2/classes.m2:68 Function \ VisibleList := VisibleList => (f,v) -> apply(v,f)