On Wed, Sep 13, 2000 at 08:43:43PM -0000, Perl6 RFC Librarian wrote:
> The behaviour of the <my Dog $spot> syntax should simply be an
> assertion of the invariant:
>
> (!defined($spot) || (ref($spot) && $spot->isa('Dog)))
What about the current behavior of typed pseudohashes?
package Dog;
use fields qw(this night up);
my Dog $ph = [];
$ph->{this} = "that";
--
Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED]
Just Another Stupid Consultant Perl6 Kwalitee Ashuranse
When faced with desperate circumstances, we must adapt.
- Seven of Nine
- Re: RFC 218 (v1) C<my Dog $spot> is j... Nathan Torkington
- Re: RFC 218 (v1) C<my Dog $spot> is just ... Piers Cawley
- Re: RFC 218 (v1) C<my Dog $spot> is just ... Damian Conway
- Re: RFC 218 (v1) C<my Dog $spot> is j... Buddha Buck
- Re: RFC 218 (v1) C<my Dog $spot> ... Piers Cawley
- Re: RFC 218 (v1) C<my Dog $spot> is j... Piers Cawley
- Re: RFC 218 (v1) C<my Dog $spot> is j... Damian Conway
- Re: RFC 218 (v1) C<my Dog $spot> is just an a... Chaim Frenkel
- Re: RFC 218 (v1) C<my Dog $spot> is just an a... Piers Cawley
- Re: RFC 218 (v1) C<my Dog $spot> is just ... Nathan Torkington
- Re: RFC 218 (v1) C<my Dog $spot> is just an assert... Michael G Schwern
- Re: RFC 218 (v1) C<my Dog $spot> is just an a... Piers Cawley
- Re: RFC 218 (v1) C<my Dog $spot> is just ... Michael G Schwern
- Re: RFC 218 (v1) C<my Dog $spot> is j... Piers Cawley
- Re: RFC 218 (v1) C<my Dog $spot> ... Michael G Schwern
- Re: RFC 218 (v1) C<my Dog $spot... Piers Cawley
- Re: RFC 218 (v1) C<my Dog $spot> is just an assert... Piers Cawley
