Ceylon language

bearophile bearophileHUGS at lycos.com
Wed Apr 13 14:41:36 PDT 2011


> template fs(alias f) {
>     auto fs(Range)(Range s) {
>         return map!f(s);
>     }
> }

And by the way, this is similar to the "manual" partial application of Ceylon, just with a worse syntax.

Bye,
bearophile


More information about the Digitalmars-d mailing list