[nem-en] Nemerle meets Linq

Michal Moskal michal.moskal at gmail.com
Sun Jan 29 14:05:06 CET 2006


On 1/29/06, Alejandro Serrano <trupill at yahoo.es> wrote:
> Michal Moskal escribió:
> > 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 :-)
> >
> Well, just a pair of questions about this:
> - A higher number means less or more precedence? I would like |> to be
> just more precedent than =

Higher == more.

> - If I set the first number higher than the second one a |> b |> c is (a
> |> b) |> c or a |> (b |> c)?

(a |> b) |> c


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



More information about the devel-en mailing list