aboutsummaryrefslogtreecommitdiff
path: root/tests/incB.mal
blob: 86960c58227613857cee5140031d556589d2d482 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;; 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"

;; ending comment