Filtering...

defmacro-plus-doc

books/std/util/defmacro-plus-doc

Included Books

top
other
(in-package "ACL2")
include-book
(include-book "xdoc/top" :dir :system)
other
(defxdoc defmacro+
  :parents (std/util defmacro)
  :short "An enhancement of @(tsee defmacro)
          with <see topic='@(url xdoc)'>XDOC</see> integration."
  :long "<p>This is like @(tsee defmacro),
      but it also allows the user to include keyword options
      @(':parents'), @(':short'), and @(':long').
      None, some, or all those keywords may be present,
      in any order, and anywhere after the macro arguments.</p>
   <p>Besides generating the @(tsee defmacro)
      obtained by removing those keyword options,
      @('defmacro+') also generates a @(tsee defsection) around the macro,
      with the specified parents, short string, and long string, if any.
      The long string is augmented with a @('@(def ...)') for the macro.</p>")