mappkg.spad line 146 [edit on github]
various Currying operations.
f*g
is the function h
such that h x= f(g x)
.
constantLeft(f)
is the function g
such that g (a, b)= f b
.
constantRight(f)
is the function g
such that g (a, b)= f a
.
curryLeft(f, a)
is the function g
such that g b = f(a, b)
.
curryRight(f, b)
is the function g
such that g a = f(a, b)
.
twist(f)
is the function g
such that g (a, b)= f(b, a)
.