From c7070f82b5b9a83b67927c8401583dd7739b5c65 Mon Sep 17 00:00:00 2001 From: Paul Tagliamonte Date: Wed, 25 Dec 2013 20:28:32 -0500 Subject: [PATCH] Add ap-if docs. --- docs/contrib/anaphoric.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/contrib/anaphoric.rst b/docs/contrib/anaphoric.rst index 0a487c2..f7d1109 100644 --- a/docs/contrib/anaphoric.rst +++ b/docs/contrib/anaphoric.rst @@ -14,6 +14,18 @@ concise and easy to read. Macros ====== + +.. _ap-if: + +ap-if +------- + +Usage: ``(ap-if (foo) (print it))`` + +Evaluate the first form for trutheyness, and bind it to ``it`` in both the +true and false branch. + + .. _ap-each: ap-each