argument ordering (was: Re: Priority Queues, or lack thereof)

Christian Maeder maeder at tzi.de
Mon Aug 22 09:27:44 EDT 2005


Okasaki, C. DR EECS wrote:
>    insert 1 a $ insert 2 b $ insert 3 c dict

A further argument for this notation is its close resemblance to the
notation with function composition:

insert 1 a . insert 2 b . insert 3 c $ dict

particularly if the final argument  "$ dict" can be omitted, i.e. in a
function definition or a lambda expression.

Cheers Christian


More information about the Libraries mailing list