Permalink
Browse files

Stub in Seq, add Parcel.list .

  • Loading branch information...
1 parent 43a8b52 commit 4f8db8f1829b0c6c30dd8e15c3695a3542516ee6 @pmichaud pmichaud committed Jun 9, 2011
Showing with 15 additions and 3 deletions.
  1. +9 −0 src/CORE.setting/Parcel.pm
  2. +2 −0 src/CORE.setting/Seq.pm
  3. +4 −3 tools/build/Makefile.in
@@ -1,5 +1,14 @@
my class Parcel is Iterable {
has $!storage;
+
+ method list() {
+ pir::setattribute__0PPsP(
+ pir::repr_instance_of__PP(List),
+ List,
+ '$!rest',
+ pir::clone__PP($!storage)
+ )
+ }
}
View
@@ -0,0 +1,2 @@
+my class Seq is List {
+}
View
@@ -121,14 +121,15 @@ CORE_SOURCES = \
src/CORE.setting/Any.pm \
src/CORE.setting/Attribute.pm \
src/CORE.setting/Cool.pm \
- src/CORE.setting/Iterable.pm \
- src/CORE.setting/Iterator.pm \
- src/CORE.setting/Parcel.pm \
src/CORE.setting/Int.pm \
src/CORE.setting/Num.pm \
src/CORE.setting/Str.pm \
+ src/CORE.setting/Iterable.pm \
+ src/CORE.setting/Iterator.pm \
src/CORE.setting/List.pm \
src/CORE.setting/ListIter.pm \
+ src/CORE.setting/Seq.pm \
+ src/CORE.setting/Parcel.pm \
src/CORE.setting/Parameter.pm \
src/CORE.setting/Signature.pm \
src/CORE.setting/Block.pm \

0 comments on commit 4f8db8f

Please sign in to comment.