Subject: Re: How can I translate C++ into CLOS?
From: Erik Naggum <>
Date: 1998/04/22
Newsgroups: comp.lang.lisp
Message-ID: <>

* Kjetil Valstadsve
| Are there any traditional ways to do lazy initialisation instead?  An
| access function would then be defined to a) check for the slot's value;
| when not set, set it to some initial value and b) return the slot's
| value.

  you could define methods on the generic function SLOT-UNBOUND to handle
  this case, but I have neither seen this done nor done this myself, so
  don't know how "traditional" it might be.  it would work, though.

  Abort, Retry, or Upgrade?