wrap/unwrap vs Go-style duck typing

Nicolas Sicard dransic at gmail.com
Sat Oct 26 07:55:49 PDT 2013


On Saturday, 26 October 2013 at 14:39:31 UTC, Martin Nowak wrote:
> On 10/25/2013 07:46 AM, Andrei Alexandrescu wrote:
>> Hello,
>>
>> I was curious how our fledgling wrap and unwrap routines 
>> compare with
>> Go's duck typing - similarities, distinctions, performance. 
>> Please share
>> any thoughts, thanks!
>>
>> Andrei
>
> What are you referring to by wrap/unwrap, functions like 
> inputRangeObject?
>
> Martin

http://dlang.org/phobos-prerelease/std_typecons.html#.wrap
http://dlang.org/phobos-prerelease/std_typecons.html#.unwrap


More information about the Digitalmars-d mailing list