[nem-en] Nemerle meets Linq

Michal Moskal michal.moskal at gmail.com
Sun Jan 29 12:44:42 CET 2006


On 1/29/06, Michal Moskal <michal.moskal at gmail.com> wrote:
> OK, this one is simple:
>
> [assembly: Nemerle.Internal.OperatorAttribute ("Nemerle.Linq",
>   "|>", false, 170, 171)]
>
> Just set a priority, you think makes sense, look at macros/core.n for
> examples.
>
> Though I think operators should be left-associative by default. Kamil?

And they do. Just replace 261 and 260 in your sources :-)

> > I attah by implementation plus a free Linq implementation.
>
> Great! I'll have a look.

The union and intersect operators can be also implemented as infix
operators. Otherwise syntax extensions won't grasp it.


--
   Michal Moskal,
   http://nemerle.org/~malekith/



More information about the devel-en mailing list