Anonymous user
Currying: Difference between revisions
m
https://github.com/dlang/phobos/pull/1979
(Added Hy) |
m (https://github.com/dlang/phobos/pull/1979) |
||
Line 171:
}
alias add2 =
writeln("Add 2 to 3: ", add(2, 3));
writeln("Add 2 to 3 (curried): ", add2(3));
|