Created
December 11, 2011 19:06
-
-
Save borkdude/1462160 to your computer and use it in GitHub Desktop.
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
mr1.mr1=> (union #{1 2 3} #{4 5 6}) | |
CompilerException java.lang.RuntimeException: Unable to resolve symbol: union in this context, compiling:(NO_SOURCE_PATH:3) | |
mr1.mr1=> (clojure.set/union #{1 2 3} #{4 5 6}) | |
ClassNotFoundException clojure.set java.net.URLClassLoader$1.run (URLClassLoader.java:202) | |
mr1.mr1=> (require 'clojure.set) | |
nil | |
mr1.mr1=> (clojure.set/union #{1 2 3} #{4 5 6}) | |
#{1 2 3 4 5 6} | |
mr1.mr1=> (require '[clojure.set :as set]) | |
nil | |
mr1.mr1=> (set/union #{1 2 3} #{4 5 6}) | |
#{1 2 3 4 5 6} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment