🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.lisp.mcl
Article #609

Re: non quoted arguements

#609
From: Michael Travers
Date: Mon, 14 Dec 1992 18:09
12 lines
842 bytes
    From: bright@ENH.NIST.GOV
    Subject: non quoted arguements
    
    How does one write a function/macro/anything to return the input, like the
    old nlambdas and fexpers used to do?    

If I understand you correctly, you have to use a macro.  Here's one:

(defmacro track-it (sym)
  `(progn (push ',sym *all-new-names*)
          ,sym))
Technical Details
Message-ID: <9212141809.AA13634@mahler.media.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!apple!cambridge.apple.com!mt@media.mit.edu
References: Your message of "14 Dec 92 10:24:08 EST." <01GSAWG9D45U001D1T@ENH.NIST.GOV>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!apple!cambridge.apple.com!mt@media.mit.edu
From: mt@media.mit.edu (Michael Travers)
Newsgroups: comp.lang.lisp.mcl
Subject: Re: non quoted arguements
Message-ID: <9212141809.AA13634@mahler.media.mit.edu>
Date: 14 Dec 92 18:09:31 GMT
References: Your message of "14 Dec 92 10:24:08 EST."
             <01GSAWG9D45U001D1T@ENH.NIST.GOV>
Sender: info-mcl-request@cambridge.apple.com
Lines: 12
Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M