[nem-en] partial application doesn't work

Michal Moskal michal.moskal at gmail.com
Sun Nov 19 12:25:15 CET 2006


On 11/19/06, Kamil Dworakowski <kamil.dworakowski at googlemail.com> wrote:
> This code is typed to bool instead of function returning bool:
>
> _.Name.Equals("name")
>
> According to description in
> http://nemerle.org/New_features#Partial_application_on_steroids
> it should be a function.

Not really. It's:

(_.Name).Equals("name")

which a dot operator applied to a function. _.Name is a function and
then you apply dot on it.

-- 
   Michał


More information about the devel-en mailing list