Skip to content

Commit

Permalink
Give Positional/Associative/Callable type parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Dec 3, 2011
1 parent 676b356 commit b238ce4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/core/Associative.pm
@@ -1,2 +1,3 @@
my role Associative {
my role Associative[::T = Mu] {
method of() { T }
}
4 changes: 3 additions & 1 deletion src/core/Callable.pm
@@ -1,2 +1,4 @@
my role Callable {
my role Callable[::T = Mu] {
method of() { T }
method returns() { T }
}
3 changes: 2 additions & 1 deletion src/core/Positional.pm
@@ -1,2 +1,3 @@
my role Positional {
my role Positional[::T = Mu] {
method of() { T }
}

0 comments on commit b238ce4

Please sign in to comment.