[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ask for the value of several variables at once
From: |
tomas |
Subject: |
Re: ask for the value of several variables at once |
Date: |
Fri, 9 Mar 2018 11:14:49 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, Mar 09, 2018 at 10:18:32AM +0100, Emanuel Berg wrote:
> > This is how far I got - next step to make it
> > work with a list of vars...
> >
> > (defmacro echo-var (var)
> > `(list ,(symbol-name var) ,var) )
> > ;; (echo-var fill-column) ; ("fill-column" 47)
>
> BTW in general, what is the easiest way to just
> prevent a function or arbitrary "in-out data
> processing unit" to *not* evaluate the
> arguments and then if/when need be do that
> manually in the body?
In "classical" Lisps the functions always evaluate their args.
The "other" way is what macros are for (or special forms).
Cheers
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlqiXpkACgkQBcgs9XrR2kaQLgCeIn0g5I7wESpO7+qudHFV+TOM
U0QAn3l15Sg77up7s4vPg6vBDkxkrv0g
=nQ/S
-----END PGP SIGNATURE-----
- Re: ask for the value of several variables at once, (continued)
- Re: ask for the value of several variables at once, Stefan Monnier, 2018/03/18
- Message not available
- Re: ask for the value of several variables at once, Emanuel Berg, 2018/03/18
- Message not available
- Re: ask for the value of several variables at once, Emanuel Berg, 2018/03/14
- Message not available
- Re: ask for the value of several variables at once, Emanuel Berg, 2018/03/09
- Re: ask for the value of several variables at once, Emanuel Berg, 2018/03/09
- Re: ask for the value of several variables at once, Emanuel Berg, 2018/03/09
- Re: ask for the value of several variables at once,
tomas <=
- Message not available
- Re: ask for the value of several variables at once, Emanuel Berg, 2018/03/09
- Re: ask for the value of several variables at once, tomas, 2018/03/09
- Message not available
- Re: ask for the value of several variables at once, Emanuel Berg, 2018/03/09
- Re: ask for the value of several variables at once, Uwe Brauer, 2018/03/09
- Message not available
- Re: ask for the value of several variables at once, Emanuel Berg, 2018/03/09
- Re: ask for the value of several variables at once, tomas, 2018/03/09
- Message not available
- Re: ask for the value of several variables at once, Emanuel Berg, 2018/03/09
- Re: ask for the value of several variables at once, tomas, 2018/03/09
- Re: ask for the value of several variables at once, Robert L., 2018/03/09
- Re: ask for the value of several variables at once, Emanuel Berg, 2018/03/09