3 ms·
Lisp allows spaces in identifiers, or any other character. You just have to escape them: (defun |my + function| (x y) (+ x y)) (|my + function| 2 2)
by ken 8y ago
Lisp allows spaces in identifiers, or any other character. You just have to escape them:
(defun |my + function| (x y) (+ x y))
(|my + function| 2 2)
(Or maybe write a reader macro to deal with them in some other way.)
- Pxtl 8y agoHah, that's even uglier than the SQL "just put square brackets around it" approach. We're looking for something nicer than underscores and hyphens.
- andreareina 8y agoBeing that whitespace is the primary way most languages separate tokens, yeah putting whitespace inside tokens is going to be ugly.