I was in #lisp on freenode recently, and someone mentioned the existence of '1-' and 1+
. Knowing about these functions left me wondering why they exist. Were they originally created for perormance reasons like the related --
and ++
of C/C++, or was there some other reason? Does anyone know the history of how these functions came to be in the standard?
(If this question is more suitable for another site (e.g. Programmers) please migrate it there. Thanks.)