2 ms·
Posted under another comment, but I've personally experienced it being a big problem where a Lisp interfaced with another language: https://news.ycombinator.com
by brundolf 5y ago
Posted under another comment, but I've personally experienced it being a big problem where a Lisp interfaced with another language: https://news.ycombinator.com/item?id=27878200 https://news.ycombinator.com/item?id=27878200
- didibus 5y agoClojure doesn't have this problem, in Clojure nil is not the empty list, and the empty list is not nil. ;; Nil and empty list are different (nil? '()) ;> false ;; Empty list is not falsy (if '() true false) ;> true ;; Only nil is falsy (if nil true false) ;> false ;; Prints as empty list (pr '()) ;> ()
- brundolf 5y agoGood decision on their part. Unfortunately ours was CL-inspired