Haskell infix syntax

Caligo iteronvexor at gmail.com
Sun Mar 6 17:01:20 PST 2011


On Sun, Mar 6, 2011 at 12:24 PM, Peter Alexander <peter.alexander.au@
gmail.com> wrote:

> On 6/03/11 4:22 PM, bearophile wrote:
>
>> So I think it's not worth adding to D.
>>>
>>
>> But if you don't agree... talk.
>>
>> Bye,
>> bearophile
>>
>
> I agree.
>
> It would be nice in some situations (like cross and dot products for
> vectors), but otherwise it's unnecessary and just adds confusion in exchange
> for a tiny but of convenience in a handful of scenarios.
>


With C++, for example, Eigen uses expression templates.  How does one do
expression templates in D? Could someone rewrite this
http://en.wikipedia.org/wiki/Expression_templates this D?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20110306/797241c0/attachment.html>


More information about the Digitalmars-d mailing list