News for hackers. Stuff that matters.
Re:Ask HN: Why do people say "Lisp has no syntax"? It has in... by al2o3cr on Saturday August 03, 2024 @04:18PM (#41148960)

    `cond` still returns the same output even though its input args 
    have changed. So `cond` is not a function anymore!
It sounds like you're holding the definition of "pure function" backwards: a pure function can't give a different OUTPUT for the same INPUT.

A feature like "cond" is usually implemented as a macro (since the arguments are only evaluated sometimes) but that's ultimately just a shorthand for a bunch of extra "quote" wrapping.

There are no comments on this comment yet.