Skip to content

Instantly share code, notes, and snippets.

@danielribeiro
Last active December 14, 2015 11:38
Show Gist options
  • Save danielribeiro/5080200 to your computer and use it in GitHub Desktop.
Save danielribeiro/5080200 to your computer and use it in GitHub Desktop.
; Gives warning: Assert failed....
(ns light.core
(:use [clojure.pprint]))
(def p pprint)
(+ 1 1)
(def x (into {} (map (fn [x] [x (inc x)]) (take 1000 (range)))))
(pprint x)
(pprint 8)
(ns light.core
(:use [clojure.pprint :only [pprint]]))
(def p (comp println pprint))
(+ 1 1)
(def x (into {} (map (fn [x] [x (inc x)]) (take 1000 (range)))))
(p x)
(p 8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment