Syntax and Data Types ; This is a comment, semicolon is similar to // in C# / Java ;; List is the most common data structure '(1 2 3) ;; Vector is a list that is indexable by position [1 2 3] ;; Maps are associative data structures {:key "value", :id 42} ;; Sets are mathematical sets #{1 2 3} ;; Expressions are lists of form (function arg-1 arg-2 ...) (println "Hello, World") (+ 1 2 3) file: core.clj List Vector Map Set Expression
4 Publizr (dev) Home