[nem-en] Nemerle 0.9.2 released

Philippe Quesnel philippe.quesnel at gmail.com
Thu Jan 26 16:28:40 CET 2006


On 1/26/06, Michal Moskal <michal.moskal at gmail.com> wrote:
> On 1/26/06, Philippe Quesnel <philippe.quesnel at gmail.com> wrote:
> > thx,
> >  doc somewhere on the extended matching ??
>
> I just added two santences describing it. I wouldn't call it
> documentation though.

ah ok, obvious now that I have an explanation !

>
> >  dagn, me that was dreaming of:
> >  fib(1) 1
> >  fib(2) 1
> >  fib(n) fib(n - 2) + fib(n - 1)
>
> fib(_)
>   | 1 | 2 => 1
>   | n => fib(n - 2) + fib(n - 1)
>
> It's shorter and IMHO more readable. But it may be my bias toward Caml
> (not SML).
>

hehe, I knew someone would have a great answer for that one .. nice.

thx



More information about the devel-en mailing list