Lost a new commercial user this week :(
Mike Parker via Digitalmars-d
digitalmars-d at puremagic.com
Sat Dec 27 01:47:05 PST 2014
On 12/27/2014 6:27 PM, Daniel Murphy wrote:
> "Mike Parker" wrote in message
> news:wwonahubwyixrseqbrpq at forum.dlang.org...
>
>> ElementEncodingType!(ElementType!RoR)[] join(RoR, R)(RoR ror, R sep)
>> if (isInputRange!RoR && isInputRange!(Unqual!(ElementType!RoR)) &&
>> isInputRange!R && is(Unqual!(ElementType!(ElementType!RoR)) ==
>> Unqual!(ElementType!R)));
>> ElementEncodingType!(ElementType!RoR)[] join(RoR)(RoR ror) if
>> (isInputRange!RoR && isInputRange!(Unqual!(ElementType!RoR)));
>
> I agree, the signatures are basically unreadable.
>
> I usually just skip over them and look at the examples, which most
> functions thankfully have.
>
> eg for join:
> const string[] arr = ["apple", "banana"];
> assert(arr.join(",") == "apple,banana");
> assert(arr.join() == "applebanana");
Me, too. I haven't been put off by the docs in years (has it really been
*years*?). But you and I are hardly new to D :)
More information about the Digitalmars-d
mailing list