D vs Rust: function signatures

Paulo Pinto via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 30 00:26:50 PDT 2014


On Wednesday, 30 April 2014 at 01:49:01 UTC, Nick Sabalausky 
wrote:
> On 4/29/2014 9:38 PM, Narrator wrote:
>>
>> fn map<'r, B>(self, f: |A|: 'r -> B) -> Map<'r, A, B, Self>
>>
>
> That looks like line noise.

Not if one is used to ML languages. Beauty is in the eyes of the 
beholder. :)


More information about the Digitalmars-d mailing list