x/f
f\x
The function apply does the same thing.
The operator / is left associative, which means that w / f / g is interpreted as (w / f) / g. The operator \ is right associative, so g \ f \ w is interpreted as g \ (f \ w). Both operators have parsing precedence lower than that of @@, which means that the previous two expressions are equivalent to w / g @@ f and g @@ f \ w, respectively. See precedence of operators.
|
|
|
|
|
|
|
|
|
|
|
../../../../../Macaulay2/m2/classes.m2:76:48-76:59: --source code:
VisibleList / Function := VisibleList => (v,f) -> apply(v,f)