From da3bdbc05f592ce301d66cb412a413420c29e021 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 10 Sep 2009 20:08:27 -0500 Subject: add a TODO file for things i want to support --- TODO | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 TODO (limited to 'TODO') 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 -- cgit v1.2.3-54-g00ecf