Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
user=> (def plants-in-lalbagh ["Amherstia Nobilis" "Adansonia digitata" "Ficus bengalensis var - krishnae" "Araucaria Cookie" "Bombax Ceiba"])
#'user/plants-in-lalbagh
user=>
user=> (nth plants-in-lalbagh 2)
"Ficus bengalensis var - krishnae"
user=> (get plants-in-lalbagh 2)
"Ficus bengalensis var - krishnae"
user=> (conj plants-in-lalbagh "eucalyptus")
["Amherstia Nobilis" "Adansonia digitata" "Ficus bengalensis var - krishnae" "Araucaria Cookie" "Bombax Ceiba" "eucalyptus"]
user=> (def plants-in-lalbagh1 ["Amherstia Nobilis" "Adansonia digitata"])
#'user/plants-in-lalbagh1
user=> (def plants-in-lalbagh2 ["Araucaria Cookie" "Bombax Ceiba"])
#'user/plants-in-lalbagh2
user=> (concat plants-in-lalbagh)
plants-in-lalbagh plants-in-lalbagh1 plants-in-lalbagh2
user=> (concat plants-in-lalbagh1 plants-in-lalbagh)
plants-in-lalbagh plants-in-lalbagh1 plants-in-lalbagh2
user=> (concat plants-in-lalbagh1 plants-in-lalbagh2)
("Amherstia Nobilis" "Adansonia digitata" "Araucaria Cookie" "Bombax Ceiba")
user=>
@tellspec-mark

This comment has been minimized.

Copy link

@tellspec-mark tellspec-mark commented Jan 7, 2019

that's not what (concat plants-in-lalbagh) returns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment