Re: Set-returning .keys (was Re: Smart Matching clarification)

2006-11-23 Thread Adriano Rodrigues
On 11/23/06, TSa <[EMAIL PROTECTED]> wrote: HaloO, Darren Duncan wrote: > And if Seq and Set etc are interchangeable for all situations where it > doesn't matter whether the elements are ordered or not, then a lot of > times users won't have to care which they have. One can argue that we have t

Re: How do I associate methods with a compiler?

2006-11-09 Thread Adriano Rodrigues
On 11/9/06, Patrick R. Michaud <[EMAIL PROTECTED]> wrote: Opinions welcome. Personally I think I favor the "a compiler is an object with a 'compile' method" model, and that C gives us back a compiler object as opposed to a subroutine-like thing. Would it not be possible to support both? A comp

Re: MMD (was This week's summary)

2003-06-10 Thread Adriano Rodrigues Ferreira
On Mon, 09 Jun 2003, Mark A. Biggar wrote: multi factorial (0) { 1 } multi factorial ($n) { $n * factorial($n - 1) } That's a bad example, as it's really not MMD. It's a partially pre-memoized function instead. It is MMD as long as the dispatching mechanism (of the language or the engine it runs o