ArithFunct/daniel.saada
ArithFunct/yervandsargsyan
f1def ADD(f, g):f1def ADD(f, g):
n2    def clos(x):n2    def A(x):
3        return (f(x) if callable(f) else f) + (g(x) if callable(g) else g)3        return (f(x) if callable(f) else f)+(g(x) if callable(g) else g)
4    return clos4    return A
55
66
7def SUB(f, g):7def SUB(f, g):
n8    def clos(x):n8    def S(x):
9        return (f(x) if callable(f) else f) - (g(x) if callable(g) else g)9        return (f(x) if callable(f) else f)-(g(x) if callable(g) else g)
10    return clos10    return S
1111
1212
13def MUL(f, g):13def MUL(f, g):
n14    def clos(x):n14    def M(x):
15        return (f(x) if callable(f) else f) * (g(x) if callable(g) else g)15        return (f(x) if callable(f) else f)*(g(x) if callable(g) else g)
16    return clos16    return M
1717
1818
19def DIV(f, g):19def DIV(f, g):
t20    def clos(x):t20    def D(x):
21        return (f(x) if callable(f) else f) / (g(x) if callable(g) else g)21        return (f(x) if callable(f) else f)/(g(x) if callable(g) else g)
22    return clos22    return D
2323
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op