Skip to content

Commit

Permalink
atg. multi-line infix input green
Browse files Browse the repository at this point in the history
  • Loading branch information
glycerine committed Mar 20, 2016
1 parent 80817c1 commit a9e2fe2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/infix.zy
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,12 @@ h.a.b[0]
(defn sq [x] {x*x})
// want this to give us 29, not 4 -- at the repl
(sq 5) + 4

(defn multi [x] {
x = x + 1;
x = x + 2;
x = x + 3;
})

(assert (== (multi 1) 7))

0 comments on commit a9e2fe2

Please sign in to comment.