Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

moved .perl from Any-list to List

  • Loading branch information...
commit 44092124a13e614f01fe4b5a22da411f44509a1c 1 parent 218aee6
Carl Mäsak authored November 22, 2009
1  build/Makefile.in
@@ -151,6 +151,7 @@ CORE_SOURCES = \
151 151
   src/core/Whatever.pm \
152 152
   src/core/Pair.pm \
153 153
   src/core/Range.pm \
  154
+  src/core/List.pm \
154 155
   src/core/IO.pm \
155 156
   src/core/Parameter.pm \
156 157
   src/core/Block.pm \
5  src/core/Any-list.pm
@@ -18,11 +18,6 @@ augment class Any {
18 18
             %r = '&list'(mapper)
19 19
         }
20 20
     }
21  
-
22  
-    method perl() {
23  
-        '(' ~ self.map({ $_.perl }).join(', ') ~ ')';
24  
-    }
25  
-
26 21
 }
27 22
 
28 23
 # vim: ft=perl6
5  src/core/List.pm
... ...
@@ -0,0 +1,5 @@
  1
+augment class List {
  2
+    method perl() {
  3
+        '(' ~ self.map({ $_.perl }).join(', ') ~ ')';
  4
+    }
  5
+}

0 notes on commit 4409212

Please sign in to comment.
Something went wrong with that request. Please try again.