Created
December 4, 2024 17:10
-
-
Save BluePyTheDeer251/330b8708fafff74e019c37fa41191c73 to your computer and use it in GitHub Desktop.
Just messing around in Clojure.
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
(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