mirror of
https://github.com/kanaka/mal.git
synced 2024-08-16 17:20:23 +03:00
step 4: Test that (= (list nil) (list)) returns false.
Certain naïve implementations of '=' (like the one I just wrote) will get this wrong.
This commit is contained in:
parent
608a88851b
commit
aeff9873de
@ -127,6 +127,8 @@
|
||||
;=>false
|
||||
(= (list) 0)
|
||||
;=>false
|
||||
(= (list nil) (list))
|
||||
;=>false
|
||||
|
||||
|
||||
;; Testing builtin and user defined functions
|
||||
|
Loading…
Reference in New Issue
Block a user