[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why is defun not executed during load-file?
From: |
Drew Adams |
Subject: |
Re: Why is defun not executed during load-file? |
Date: |
Sun, 30 May 2021 22:48:07 +0000 |
> Macros are much more difficult to debug...
`macroexpand` and `macroexpand-1` are your friends.
Separate that first step, which is just reduction
(aka rewriting / reduction semantics), from the
subsequent step of Lisp-evaluating the sexp that
results from it.
So debug the macro-expansion step, to ensure you
get the sexp you want. And debug evaluation of
that sexp - separately.
- Re: Why is defun not executed during load-file?, (continued)
Re: Why is defun not executed during load-file?, Emanuel Berg, 2021/05/30
Re: Why is defun not executed during load-file?,
Drew Adams <=
- Re: Why is defun not executed during load-file?, Emanuel Berg, 2021/05/30
- RE: [External] : Re: Why is defun not executed during load-file?, Drew Adams, 2021/05/30
- Re: [External] : Re: Why is defun not executed during load-file?, Emanuel Berg, 2021/05/30
- RE: [External] : Re: Why is defun not executed during load-file?, Drew Adams, 2021/05/31
- Re: [External] : Re: Why is defun not executed during load-file?, Emanuel Berg, 2021/05/31
- Re: [External] : Re: Why is defun not executed during load-file?, Stefan Monnier, 2021/05/31
- Re: [External] : Re: Why is defun not executed during load-file?, Marcin Borkowski, 2021/05/31
- Example use of macro to minimize and generalize the code, Jean Louis, 2021/05/31
- Re: Example use of macro to minimize and generalize the code, Michael Heerdegen, 2021/05/31
- Re: Example use of macro to minimize and generalize the code, Jean Louis, 2021/05/31