Browse files

moved .perl from Any-list to List

  • Loading branch information...
1 parent 218aee6 commit 44092124a13e614f01fe4b5a22da411f44509a1c @masak masak committed Nov 22, 2009
Showing with 6 additions and 5 deletions.
  1. +1 −0 build/Makefile.in
  2. +0 −5 src/core/Any-list.pm
  3. +5 −0 src/core/List.pm
View
1 build/Makefile.in
@@ -151,6 +151,7 @@ CORE_SOURCES = \
src/core/Whatever.pm \
src/core/Pair.pm \
src/core/Range.pm \
+ src/core/List.pm \
src/core/IO.pm \
src/core/Parameter.pm \
src/core/Block.pm \
View
5 src/core/Any-list.pm
@@ -18,11 +18,6 @@ augment class Any {
%r = '&list'(mapper)
}
}
-
- method perl() {
- '(' ~ self.map({ $_.perl }).join(', ') ~ ')';
- }
-
}
# vim: ft=perl6
View
5 src/core/List.pm
@@ -0,0 +1,5 @@
+augment class List {
+ method perl() {
+ '(' ~ self.map({ $_.perl }).join(', ') ~ ')';
+ }
+}

0 comments on commit 4409212

Please sign in to comment.