]> gitweb.factorcode.org Git - factor.git/commitdiff
Simplify
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Mon, 1 Dec 2008 00:04:44 +0000 (18:04 -0600)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Mon, 1 Dec 2008 00:04:44 +0000 (18:04 -0600)
extra/contributors/contributors.factor

index f6fcac52970843105f067a39a214fb5493b51152..4d6479db915d00bb1bfb9fa31de98a05d29a5148 100755 (executable)
@@ -1,7 +1,7 @@
-! Copyright (C) 2007 Slava Pestov.
+! Copyright (C) 2007, 2008 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: io.files io.launcher io.styles io.encodings.ascii io
-hashtables kernel sequences sequences.lib assocs system sorting
+USING: io.files io.launcher io.styles io.encodings.ascii
+prettyprint io hashtables kernel sequences assocs system sorting
 math.parser sets ;
 IN: contributors
 
@@ -16,15 +16,8 @@ IN: contributors
     { } map>assoc ;
 
 : contributors ( -- )
-    changelog patch-counts sort-values <reversed>
-    standard-table-style [
-        [
-            [
-                first2 swap
-                [ write ] with-cell
-                [ number>string write ] with-cell
-            ] with-row
-        ] each
-    ] tabular-output ;
+    changelog patch-counts
+    sort-values <reversed>
+    simple-table. ;
 
 MAIN: contributors