macro-level
MACRO-LEVEL is an embarassingly trivial convenience macro that saves on indentation while being more concise and direct.

(macro-level ...) == ;; Canonical indentation. MACRO-LEVEL saves 11 spaces. (macrolet ((m () ...)) (m)) == ;; "Miser" indentation. MACRO-LEVEL saves 5 spaces. (macrolet ((m () ...)) (m))

When used as part of a macroexpansion, MACRO-LEVEL also conveniently relieves the macro implementor from naming and using a gensym for the one-shot macro when compared to writing out a MACROLET by hand, in addition to the other advantages.

macro-level is in Quicklisp:

(ql:quickload "macro-level")

See the project's home for further information.
This library is in the Public Domain. See the UNLICENSE file for details.


convenience library