Anonymous user
Higher-order functions: Difference between revisions
m
→Icon and Unicon: header simplification
m (→{{header|Perl 6}}: off by one error) |
m (→Icon and Unicon: header simplification) |
||
Line 707:
Note that <tt>func (\x y -> x+y)</tt> is equivalent to <tt>func (+)</tt>. (Operators are functions too.)
==
<lang icon> procedure main()
local lst
Line 722:
write("->", arg)
end</lang>
▲==={{header|Unicon}}===
=={{header|Inform 7}}==
|