summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-09-10 20:08:27 -0500
committerJesse Luehrs <doy@tozt.net>2009-09-10 20:08:27 -0500
commitda3bdbc05f592ce301d66cb412a413420c29e021 (patch)
tree7cda70afa27a7770ba16e01650af3f166d565ba8
parentcda7c4e67f52a39187e669978c2b7eddfca68811 (diff)
downloadmoosex-methodtraits-da3bdbc05f592ce301d66cb412a413420c29e021.tar.gz
moosex-methodtraits-da3bdbc05f592ce301d66cb412a413420c29e021.zip
add a TODO file for things i want to support
-rw-r--r--TODO18
1 files changed, 18 insertions, 0 deletions
diff --git a/TODO b/TODO
new file mode 100644
index 0000000..a5c464d
--- /dev/null
+++ b/TODO
@@ -0,0 +1,18 @@
+Things we want to support:
+
+- basic applying of traits to methods:
+ command foo => $code;
+ should install $code as 'foo' in the current class, with the command trait
+ applied
+- setting attributes in the traits that we apply:
+ command foo => $code, formatter => $format;
+ should install $code as 'foo', and set the formatter attribute to $format on
+ the method metaobject
+- passing in things other than coderefs
+ alias foo => 'bar';
+ should be able to look 'bar' up in the current package, and install foo as an
+ alias to it (potentially with a trait applied)
+- applying traits to existing methods
+ command 'foo';
+ should find an existing 'foo' method in the current class, and apply the
+ command trait to it