Anonymous user
First-class functions: Difference between revisions
m
→Use functions as arguments to other functions
Line 1,019:
===Use functions as arguments to other functions===
<lang Dyalect>func Iterator.
for x in this when pred(x) {
yield x
Line 1,025:
}
[1,2,3,4,5].
===Use functions as return values of other functions===
|