mirror of
https://github.com/kanaka/mal.git
synced 2024-09-19 09:38:28 +03:00
15 lines
280 B
Plaintext
15 lines
280 B
Plaintext
|
;; A comment in a file
|
||
|
(def! inc4 (fn* (a) (+ 4 a)))
|
||
|
(def! inc5 (fn* (a) ;; a comment after code
|
||
|
(+ 5 a)))
|
||
|
|
||
|
;; Test map split across lines
|
||
|
(def! mymap {"a"
|
||
|
1})
|
||
|
|
||
|
;; Test commas as whitespace
|
||
|
(def! myvec [1 2, 3])
|
||
|
|
||
|
(prn "incB.mal finished")
|
||
|
"incB.mal return string"
|