D vs Rust: function signatures

Nick Sabalausky via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 30 06:02:17 PDT 2014


On 4/30/2014 3:26 AM, Paulo Pinto wrote:
> 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. :)

FWIW, I do agree (Not that I know much about ML-family). The "...to me" 
was carelessly left as implied. ;)



More information about the Digitalmars-d mailing list