On Thu, Aug 18, 2005 at 10:02:23AM -0700, chromatic wrote: > On Wed, 2005-08-17 at 23:43 -0500, Dave Rolsky wrote: > > > But I'd really like to get this stuff done at compile time wherever > > possible. If I write this: > > > > validate( credit_card_number: $number );
BTW, the colon is on the left: :credit_card_number($number) > > it should blow up at compile time, right? > > Does that depend on how closed you want Perl 6 to think your world is at > compile time? Right, because introducing new multi variant at runtime is a desired feature. Which is why I think "closed" should not be limited to classes, but should extend to packages as well... Thanks, /Autrijus/
pgpx5jRaNhflL.pgp
Description: PGP signature