Skip to content

Commit

Permalink
Check to see whether lists are atoms
Browse files Browse the repository at this point in the history
  • Loading branch information
rm-hull committed Aug 3, 2016
1 parent 3fc12fe commit 7f3049b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/ambages/primitives_test.clj
Expand Up @@ -61,4 +61,5 @@
(is (true? (atom? 'fred)))
(is (false? (atom? nil)))
(is (false? (atom? [1 2 3])))
(is (false? (atom? (list 1 2 3))))
(is (false? (atom? (cons 1 (cons 2 nil))))))

0 comments on commit 7f3049b

Please sign in to comment.