home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.lisp
- Path: sparky!uunet!stanford.edu!kronos.arc.nasa.gov!kepler.arc.nasa.gov!philpot
- From: philpot@kepler.arc.nasa.gov (Andrew Philpot)
- Subject: (SETF VALUES)
- Message-ID: <1993Jan6.213139.27999@kronos.arc.nasa.gov>
- Keywords: setf-methods, setf-expansions, setf, values
- Sender: usenet@kronos.arc.nasa.gov (Will Edgington, wedgingt@ptolemy.arc.nasa.gov)
- Nntp-Posting-Host: kepler.arc.nasa.gov
- Organization: NASA/ARC Information Sciences Division
- Date: Wed, 6 Jan 1993 21:31:39 GMT
- Lines: 19
-
- Is it possible to implement (SETF VALUES) in a Lisp which doesn't
- already do this?
-
- This is (will be) part of lisp, e.g., as per section 5.1.2.3 of the
- dpans, but my vendor hasn't implemented it yet.
-
- I thought it should be possible, and worked on this awhile, but
- couldn't seem to get it to work. VALUES is "just" a function, after
- all, not a special form/special operator. I don't have a lot of
- experience with DEFINE-SETF-METHOD (now DEFINE-SETF-EXPANDER); I don't
- think the simpler routes will work (will they?). I imagine that a
- home-brewed version would be less efficient than a built-in one, but
- perhaps compile-time transformations could result in pretty good code.
-
- If anyone has done this in a (stock hardware) Lisp, or knows good
- reasons why it can or cannot be done, please let me know or post.
-
- Andrew Philpot - "not a rocket scientist"
- philpot@ptolemy.arc.nasa.gov
-