\( \DeclareMathOperator{\tr}{tr} \newcommand\D{\mathrm{d}} \newcommand\E{\mathrm{e}} \newcommand\I{\mathrm{i}} \newcommand\bigOh{\mathcal{O}} \newcommand{\cat}[1]{\mathbf{#1}} \newcommand\curl{\vec{\nabla}\times} \newcommand{\CC}{\mathbb{C}} \newcommand{\NN}{\mathbb{N}} \newcommand{\QQ}{\mathbb{Q}} \newcommand{\RR}{\mathbb{R}} \newcommand{\ZZ}{\mathbb{Z}} % For +---- metric \newcommand{\BDpos}{} \newcommand{\BDneg}{-} \newcommand{\BDposs}{\phantom{-}} \newcommand{\BDnegg}{-} \newcommand{\BDplus}{+} \newcommand{\BDminus}{-} % For -+++ metric \newcommand{\BDpos}{-} \newcommand{\BDposs}{-} \newcommand{\BDneg}{} \newcommand{\BDnegg}{\phantom{-}} \newcommand{\BDplus}{-} \newcommand{\BDminus}{+} \)
UP | HOME

Generalized Variables - Common Lisp

Table of Contents

1. Introduction

In Common Lisp, "places" are not physical, instead it's just a concept for anything where we can get/set a value. (So in particular, a "place" in general cannot be returned or passed.)

The technical term used to describe "places" are Generalized Variables.

2. References

  • Guy L. Steele Jr.,
    Common Lisp: The Language.
    Second ed., chapter 7, sec.2; eprint.
  • Rainer's answer (SO) about "places" in Common Lisp is enlightening.

Last Updated: Sun, 20 Aug 2023 09:45:36 -0700