SHARE
TWEET

Untitled

a guest Aug 7th, 2015 170 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ lein repl
  2. nREPL server started on port 64314 on host 127.0.0.1 - nrepl://127.0.0.1:64314
  3. REPL-y 0.3.5, nREPL 0.2.6
  4. Clojure 1.6.0
  5. Java HotSpot(TM) 64-Bit Server VM 1.8.0_40-b25
  6.     Docs: (doc function-name-here)
  7.           (find-doc "part-of-name-here")
  8.   Source: (source function-name-here)
  9.  Javadoc: (javadoc java-object-or-class-here)
  10.     Exit: Control+D or (exit) or (quit)
  11.  Results: Stored in vars *1, *2, *3, an exception in *e
  12.  
  13. user=> (rename-keys {:a 1, :b 2} {:a :new-a, :b :new-b})
  14. CompilerException java.lang.RuntimeException: Unable to resolve symbol: rename-keys in this context, compiling:(NO_SOURCE_PATH:1:1)
  15.  
  16. user=> (select-keys {:a 1, :b 2} [:a :b])
  17. {:b 2, :a 1}
  18. user=> (select-keys {:a 1, :b 2} [:a])
  19. {:a 1}
  20. user=>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top