fouaishfoh

master
Nathaniel Smith 2014-11-08 20:16:11 -05:00
parent 5ea07fd3ee
commit 4c358a7783
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@
(defn sort-user-list [usernames] (defn sort-user-list [usernames]
(apply sorted [usernames] {"key" modify-time})) (apply sorted [usernames] {"key" modify-time}))
(defn user-generator [] (-> (listdir "/home") (defn user-generator [] (->> (listdir "/home")
(filter (fn [f] (and (not (= f "ubuntu")) (not (= f "poetry"))))))) (filter (fn [f] (and (not (= f "ubuntu")) (not (= f "poetry")))))))
(def user-list (->> (user-generator) (def user-list (->> (user-generator)
sort-user-list sort-user-list