Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
1
Task/Compound-data-type/Clojure/compound-data-type-1.clj
Normal file
1
Task/Compound-data-type/Clojure/compound-data-type-1.clj
Normal file
|
|
@ -0,0 +1 @@
|
|||
(defrecord Point [x y])
|
||||
3
Task/Compound-data-type/Clojure/compound-data-type-2.clj
Normal file
3
Task/Compound-data-type/Clojure/compound-data-type-2.clj
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(def p (Point. 0 1))
|
||||
(assert (= 0 (:x p)))
|
||||
(assert (= 1 (:y p)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue