Re: Canonical Way to Mask SETF?



>I'm playing with a menu system, and would like to be able to write the
>following:
>
> (menu-item menu) -> item
> (setf (menu-item menu) item)
>
>...
>
>Unfortunately there aren't too many online references which deal with
>DEFSETF--at least none that I've found.

Check out chapter 12 in this book. It is out of print, but available
for free online.

http://paulgraham.com/onlisp.html

.