Skip to content

Instantly share code, notes, and snippets.

@BluePyTheDeer251
Created December 4, 2024 17:10
Show Gist options
  • Save BluePyTheDeer251/330b8708fafff74e019c37fa41191c73 to your computer and use it in GitHub Desktop.
Save BluePyTheDeer251/330b8708fafff74e019c37fa41191c73 to your computer and use it in GitHub Desktop.
Just messing around in Clojure.
(def myVector [251 456 345])
(def myList '(3782 22536 14357))
(println "Your current vector: " myVector)
(println "Your current list: " myList)
;; Messing with both
(conj myVector 234 1556 478)
(println myVector)
(conj myList 2342515 54536271 35362617)
;; Printing both at the same time
(println myVector myList)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment