Created
April 19, 2014 14:14
-
-
Save jnthn/11085557 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
multi sub trait_mod:<is>( Mu:U $type, :$entity! ) { | |
role Entity {} | |
$type.HOW does Entity; | |
} | |
class LM::Model::User | |
is entity | |
{ | |
} | |
say LM::Model::User.HOW ~~ Entity; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment