Lost a new commercial user this week :(

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Sat Dec 27 01:27:11 PST 2014


"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"); 



More information about the Digitalmars-d mailing list