Haskell infix syntax

bearophile bearophileHUGS at lycos.com
Sun Mar 6 09:53:24 PST 2011


Simen kjaeraas:

> This is basically already possible in D:

I suggest you to stop using the single underscore as identifier.


> unittest {
>      assert( 2 /_!add/ 3 == 5 );
> }

OK. Now let's go back to Haskell :-)

Thank you for your answer,
bye,
bearophile


More information about the Digitalmars-d mailing list