[nem-en] Re: Macro proposal
Kamil Dworakowski
kamil.dworakowski at googlemail.com
Thu Jun 21 09:30:24 CEST 2007
Kamil Skalski pisze:
> That is right, we will not have Ruby blocks this way, but I like their
> syntactic form. Maybe we could use 'do' keyword-operator for your
> macro?
>
> def sum = function_with_callback(1, 2) do (l, r) =>
> l + r
>
Could we use with instead of do?
List.Map(lst) with (x) =>
some
code
feels better.
-- Kamil Dworakowski
More information about the devel-en
mailing list