Function definition: Difference between revisions

m
(Added Dyalect programming language)
Line 786:
<lang e>def multiply := fn a, b { a * b }</lang>
This definition is identical to the previous except that the function object will not know its own name.
 
=={{header|Easyprog.online}}==
<lang>func multiply a b . r .
r = a * b
.
call multiply 7 5 res
print res</lang>
 
=={{header|EchoLisp}}==
2,041

edits