Source

slacker-demo / slacker-client-demo / src / slacker_client_demo / core.clj

(ns slacker-client-demo.core
  (:use [clojure.pprint :only [pprint]])
  (:use [slacker-client-demo.client])
  (:use [slacker.client]))

(use-remote 'scp 'redday.api)
(use-remote 'scp 'redday.stats)

(defn -main [subreddit & args]
  (let [reddits (top-titles subreddit)
        words-stats (apply word-count reddits)]
    (pprint words-stats)))