Anonymous user
Higher-order functions: Difference between revisions
Slate implementation, sans example yet
(→{{header|C}}: maquillage on C ++ amigae) |
(Slate implementation, sans example yet) |
||
Line 821:
</lang>
Note that <tt>(func (lambda (x y) (+ x y)))</tt> is equivalent to <tt>(func +)</tt>. (Operators are functions too.)
=={{header|Slate}}==
Methods and blocks can both be passed as arguments to functions (other methods and blocks):
<lang slate>
</slate>
=={{header|Standard ML}}==
|