First commit of partial RosettaCode contents.
Pushing this for testing purposes. Lots of work still needed.
This commit is contained in:
commit
1e05ecd7ee
781 changed files with 9080 additions and 0 deletions
1
Task/Comments/Clojure/comments-2.clj
Normal file
1
Task/Comments/Clojure/comments-2.clj
Normal file
|
|
@ -0,0 +1 @@
|
|||
(comment (println (foo)) "bar" :baz 123 (System/exit 0)) ;; does nothing, returns nil
|
||||
2
Task/Comments/Clojure/comments-3.clj
Normal file
2
Task/Comments/Clojure/comments-3.clj
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
(+ 1 (comment "foo") 3) ;; Throws an exception, because it tries to add nil to an integer
|
||||
(+ 1 #_"foo" 3) ;; Returns 4
|
||||
3
Task/Comments/Clojure/comments.clj
Normal file
3
Task/Comments/Clojure/comments.clj
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
;; This is a comment
|
||||
(defn foo []
|
||||
123) ; also a comment
|
||||
Loading…
Add table
Add a link
Reference in a new issue