On Aug 30, 12:30 pm, "Keith Rarick" <k... / essembly.com> wrote:
> On 8/29/07, Trans <transf... / gmail.com> wrote:
>
> > Just a thought...
> > [snip]
>
> That notation looks really nice. It's much better than my original
> proposal. I'm working on implementing it right now and I'll post it as
> soon as it's ready.

Cool. It will be interesting to see how it turns out.

> > It should even be possible to combine this with example #3 to do:
>
> >   # Example 3 (class method)
>
> >   def meta.memoized.tck(x, y, z)
> >     return z if x <= y
> >     tck(tck(x - 1, y, z), tck(y - 1, z, x), tck(z - 1, x, y))
> >   end
>
> Unfortunately, that produces a syntax error. :( Ruby doesn't seem to
> let you give more than one dot in the name.

Figures. Well, chalk up another one to Ruby curmudgeon.

T.