Higher-order functions: Difference between revisions

(Added Dyalect programming language)
Line 882:
print("f=mul, f(\(a), \(b)) = \(call((x, y) => x * y, a, b))")
print("f=div, f(\(a), \(b)) = \(call((x, y) => x / y, a, b))")</lang>
 
{{out}}
 
<pre>f=add, f(6, 2) = 8
f=mul, f(6, 2) = 12
f=div, f(6, 2) = 3</pre>
 
=={{header|E}}==
Anonymous user