mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
typo fix in clojure.html.markdown nth input expression from 4 to 2 resolves: IndexOutOfBoundsException clojure.lang.RT.nthFrom (RT.java:885) (#2493)
This commit is contained in:
parent
c76be299aa
commit
c7f2b23f2f
@ -297,7 +297,7 @@ keymap ; => {:a 1, :b 2, :c 3}
|
||||
|
||||
(as-> [1 2 3] input
|
||||
(map inc input);=> You can use last transform's output at the last position
|
||||
(nth input 4) ;=> and at the second position, in the same expression
|
||||
(nth input 2) ;=> and at the second position, in the same expression
|
||||
(conj [4 5 6] input [8 9 10])) ;=> or in the middle !
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user