Last active
December 14, 2015 11:38
-
-
Save danielribeiro/5080200 to your computer and use it in GitHub Desktop.
Clojure bug report: https://groups.google.com/forum/?fromgroups=#!topic/light-table-discussion/W1FBd9Ydgfc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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