1
1
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:
Ben Harris 2019-07-13 12:08:05 +01:00
parent 608a88851b
commit aeff9873de

View File

@ -127,6 +127,8 @@
;=>false
(= (list) 0)
;=>false
(= (list nil) (list))
;=>false
;; Testing builtin and user defined functions