From 033198a90eabce89276f60ad9831475f61d47ea4 Mon Sep 17 00:00:00 2001 From: "Sean B. Palmer" Date: Fri, 11 Oct 2013 12:06:22 +0100 Subject: [PATCH] Added documentation for macroexpand --- docs/language/core.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/language/core.rst b/docs/language/core.rst index 8a34549..6124911 100644 --- a/docs/language/core.rst +++ b/docs/language/core.rst @@ -222,6 +222,18 @@ Contrast with :ref:`iterable?-fn`. .. _neg?-fn: +macroexpand +----------- + +Usage: ``(macroexpand form)`` + +Returns the macro expansion of form. + +.. code-block:: clojure + + => (macroexpand '(-> (a b) (x y))) + (u'x' (u'a' u'b') u'y') + neg? ----