Skip to content

Commit

Permalink
cond assert
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchy64 committed Aug 23, 2024
1 parent 928d6a0 commit 9edac53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/com/ambrosebs/map.clj
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
c2
(list 'if c1
c2
(cons `cond (next (next clauses)))))))
(let [nnclauses (next (next clauses))]
(assert nnclauses "Final clause must be keyword test")
(cons `cond nnclauses))))))


(defonce ^:private NOT-FOUND
Expand Down

0 comments on commit 9edac53

Please sign in to comment.