Skip to content

Commit

Permalink
hall-of-programmers
Browse files Browse the repository at this point in the history
For a little competitive spirit.
  • Loading branch information
whalliburton committed Dec 8, 2011
1 parent 23005bc commit 67e9c58
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions academy.asd
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@
#+sbcl (:file "git")
#+sbcl (:file "log")
#+sbcl (:file "website")
#+sbcl (:file "hall-of-programmers")
(:file "welcome")))

15 changes: 15 additions & 0 deletions hall-of-programmers.lisp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
(in-package :academy)

;;; !!! Attention Hackers. Get your fork on to make the
;;;
;;; Hall Of Programmers

(defun list-all-programmers ()
(sort
(count-unique (split-string-into-lines
(git '("log" "--format=format:%an"))))
#'> :key #'second))

(defun hall-of-programmers ()
"Show the Hall of Programmers."
(print-table (list-all-programmers)))
3 changes: 2 additions & 1 deletion packages.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@
multiplication-table
peace
turtle-race
save-log))
save-log
hall-of-programmers))

0 comments on commit 67e9c58

Please sign in to comment.