[PATCH consfigurator v3 4/8] provide macro with-reset-data-sources
Sean Whitton
spwhitton at spwhitton.name
Sun Mar 20 17:27:32 GMT 2022
Hello,
On Sun 13 Mar 2022 at 11:40am -03, David Bremner wrote:
> diff --git a/src/data.lisp b/src/data.lisp
> index 0b55001..4b4b9e8 100644
> --- a/src/data.lisp
> +++ b/src/data.lisp
> @@ -146,6 +146,14 @@ This function is typically called at the REPL."
> *data-sources* nil
> *data-source-registrations* nil))
>
> +(defmacro with-reset-data-sources (&rest body)
> + "Run BODY with initially empty data sources and string data. This macro is
> +typically used for testing or debugging."
Another place for two newlines between the two sentences, I think.
Also, &body not &rest will provide better indentation defaults.
--
Sean Whitton
More information about the sgo-software-discuss
mailing list