[nem-en] Quick Guide mostly finished
Michal Moskal
michal.moskal at gmail.com
Tue Jan 10 09:31:33 CET 2006
On 1/10/06, Philippe Quesnel <philippe.quesnel at gmail.com> wrote:
>
> just to be sure..
> In the Quick Guide (great work !)
> I changed this (didn't look correct .. didn't compile-) :
>
>
> def addFive = compute (f (x, y) { x + y }, x, 5): partial application,
> substitutes one or more parameters, then yielding another function with a
> smaller set of parameters to this:
>
>
> def addFive = compute (fun (x, y) { x + y }, _, 5): partial application,
> substitutes one or more parameters, then yielding another function with a
> smaller set of parameters
> '_' is the only way to do partial application, right ?
Yes. I'm not sure what's the example was about to show? Maybe it should be:
"_ + 5" is the same as "fun (x) { x + 5 }"?
> I was thinking (yeah, I do that sometimes ! ;-),
> eventually, it might interesting to have links to the complete doc when
> applicable
> (eg. : list comprehensions)
This very link was actually present ;-) Anyway I added a few more.
> or is everything accessible through the 'menu' on the main page ?
Yes it is, but I guess it's still better to link relevant pages directly.
I also added QG to menu under Language.
--
Michal Moskal,
http://nemerle.org/~malekith/
More information about the devel-en
mailing list