3 ms·
That nil does double duty as boolean false and shorthand for '(). Scheme got it right with #f not being the same thing as '()
by vlowther 12y ago
That nil does double duty as boolean false and shorthand for '(). Scheme got it right with #f not being the same thing as '()
- sedachv 12y agoI'm in the minority, but that's something that annoys me about Scheme. Lisp-style list processing code is more concise when nil is false. I also think array-processing or Haskell list style code is better than Lisp style list code, so IMO most Scheme code ends up with the worst of both worlds.