[nem-en] Nemerle meets Linq

Alejandro Serrano trupill at yahoo.es
Sun Jan 29 13:00:44 CET 2006


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 =
- If I set the first number higher than the second one a |> b |> c is (a 
|> b) |> c or a |> (b |> c)?
>   
>>> 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.
>   
Thanks, I will change them.

		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com




More information about the devel-en mailing list