Piers wrote:
> > > > Can 'undef' valued thingys have properties
> > >
> > > Yes.
> > >
> > > > and functions?
> > >
> > > No.
> > >
> >
> > Why not?
>
> You can always set a property on a function reference. But it seems a
> little weird that functions can have properties in perl5, but not in
> perl 6.
Hmmmm. I read Ed's original questions as:
Can 'undef' valued thingys have properties?
and:
Can 'undef' valued thingys have functions?
That's why I said "no" to the second.
If the second question was actually:
Can functions have properties?
Then the answer is, of course, "yes".
Damian
- Re: 'is' and action at a distance Damian Conway
- Re: 'is' and action at a distance Larry Wall
- Re: 'is' and action at a distance Richard Proctor
- Re: 'is' and action at a distance Piers Cawley
- Re: 'is' and action at a distance Damian Conway
- Re: 'is' and action at a distance Graham Barr
- Re: 'is' and action at a distance Piers Cawley
- Re: 'is' and action at a distance Austin Hastings
- Re: 'is' and action at a distance Jarkko Hietaniemi
- Re: 'is' and action at a distance Graham Barr
- Re: 'is' and action at a distance Piers Cawley
- Re: 'is' and action at a distance Edward Peschko
- Re: 'is' and action at a distance Michael G Schwern
- Re: 'is' and action at a distance Damian Conway
- Re: 'is' and action at a distance Edward Peschko
