Created
June 22, 2017 16:38
-
-
Save infinite-Joy/e0a47f06193c72625a046e7ac6f06d36 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
user=> (def banned-books #{"the hindus", "The God of Small Things"}) | |
#'user/banned-books | |
user=> (count banned-books) | |
2 | |
user=> (seq banned-books) | |
("The God of Small Things" "the hindus") | |
user=> (conj banned-books "Five Past Midnight in Bhopal") | |
#{"The God of Small Things" "Five Past Midnight in Bhopal" "the hindus"} | |
user=> (disj banned-books "The God of Small Things") | |
#{"the hindus"} | |
user=> (contains? banned-books "the hindus") | |
true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment