Function definition: Difference between revisions
→{{header|langur}}
(PascalABC.NET) |
Langurmonkey (talk | contribs) |
||
Line 2,223:
map times3, [1, 2, 3]</syntaxhighlight>
=== impure
<
val writeit = fn*(x) { writeln x }
</syntaxhighlight>
Impure functions cannot be passed to pure functions.
|