Just where has this language gone wrong?
David
d at dav1d.de
Thu Jul 19 07:38:09 PDT 2012
Am 19.07.2012 16:31, schrieb Petr Janda:
>> Array gets sorted, then doubles are removed (uniq) and then everything
>> is converted to a string (map).
>>
>> Everything was recently introduced around 2.059.
>
> Ok, but what is map!(). What's the point of the exclamation mark, is it
> a template specialization?
without UFCS: map!(x => to!string(x))(my_range)
Map is a template which takes a function/delegate/string at compile
time, basic template usage.
More information about the Digitalmars-d
mailing list