Currying and composition
bearophile via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jul 27 13:59:54 PDT 2014
Matt Soucy:
>> Is it a good idea to also mix in the function composition
>> operator overloading?
>
> I'm not so sure about that one - mainly because then it's
> possible with some functions (the curried ones) but not all
> (including "regular" and delegates).
If you compose (multiply) a "curried" with a regular or a regular
with a "curried", you produce a "curried". Is this a problem and
not enough?
Bye,
bearophile
More information about the Digitalmars-d
mailing list