Stevan Little
Stevan Little
There is value in knowing that a method was not defined in a package, meaning that it is not owned by that package. But is there value in knowing this...
This is something we fixed with methods but needs to also be done with attributes. When calculating if an attribute belongs to a class/role or not, two things are checked....
**NOTE** This is from an email sent to me by Pete A., it is his idea, but I really like it. – Stevan --- In Common Lisp there is custom...
``` 11:25 phaylon: reminds me: I was wondering if `has $!x = 23; has $!y is lazy = $!x` should work 11:43 ilmari_: given that the initialiser has access to...
``` 17:42 stevan: just getting sick of stuff like 17:42 stevan: package Foo { class Bar extends Foo::Baz { ... } } 17:42 stevan: in Bar.pm 17:42 doy: yeah, that...
``` 17:21 stevan: doy: actually, thnking about it 17:21 stevan: has should work just like my 17:21 stevan: my $foo; 17:21 stevan: $foo is implictly undef 17:21 doy: right 17:21...
https://3.bp.blogspot.com/-sHqn2_66YT4/Tu8oSqvnXmI/AAAAAAAAEyo/9vC0YdqdzuE/s640/hotdogtopi.jpg
Consider a mop::internal::instance which looks at the $self and tries to figure out how to access slots. For common instance types it should be possible to do {get,set,has}_at_slot without too...
Consider renaming MpV (Mop Package Value) to MnV (Mop Namespace Value), package is an overloaded term and we want to get away from it. The fact is that we use...
We should do our best to make it easy for a user to say "$this package should use $this metaclass", simplest case is to store the appropriate one (mop::role if...