more flexible partial application

Dinko Tenev dinko.tenev at gmail.com
Sun Jan 29 06:27:03 EST 2006


On 1/27/06, Wolfgang Jeltsch <wolfgang at jeltsch.net> wrote:
> Am Freitag, 27. Januar 2006 12:15 schrieb Dinko Tenev:
> > [...]
>
> > About the whole extension, (f x _ z) is arguably clearer than \y -> f
> > x y z,
>
> For me, it's really not clearer.  (f x _ z) looks like an application of f to
> three arguments since _ looks like a special expression (similar to _ in
> patterns being a special pattern).

I feel tempted to argue to the contrary, but at this point of the
argument, I think it's already a matter of personal preference.

Cheers,
Dinko


More information about the Haskell-prime mailing list