Move contrib.anaphoric to contrib.extra

This commit is contained in:
Kodi Arfer 2016-12-26 14:44:59 -08:00
parent 670c5ae7e5
commit 8eceb4fe9d
7 changed files with 10 additions and 5 deletions

View File

@ -2,12 +2,15 @@
Contributor Modules Index Contributor Modules Index
========================= =========================
These modules are experimental additions to Hy. Once deemed mature,
they will be moved to the ``hy.extra`` namespace or loaded by
default.
Contents: Contents:
.. toctree:: .. toctree::
:maxdepth: 3 :maxdepth: 3
anaphoric
flow flow
loop loop
multi multi

View File

@ -13,9 +13,9 @@ concise and easy to read.
-- Wikipedia (https://en.wikipedia.org/wiki/Anaphoric_macro) -- Wikipedia (https://en.wikipedia.org/wiki/Anaphoric_macro)
To use these macros you need to require the hy.contrib.anaphoric module like so: To use these macros you need to require the ``hy.extra.anaphoric`` module like so:
``(require [hy.contrib.anaphoric [*]])`` ``(require [hy.extra.anaphoric [*]])``
.. _ap-if: .. _ap-if:

View File

@ -10,3 +10,5 @@ Contents:
.. toctree:: .. toctree::
:maxdepth: 3 :maxdepth: 3
anaphoric

View File

@ -14,7 +14,7 @@ from .native_tests.core import * # noqa
from .native_tests.reader_macros import * # noqa from .native_tests.reader_macros import * # noqa
from .native_tests.shadow import * # noqa from .native_tests.shadow import * # noqa
from .native_tests.with_test import * # noqa from .native_tests.with_test import * # noqa
from .native_tests.contrib.anaphoric import * # noqa from .native_tests.extra.anaphoric import * # noqa
from .native_tests.contrib.loop import * # noqa from .native_tests.contrib.loop import * # noqa
from .native_tests.contrib.meth import * # noqa from .native_tests.contrib.meth import * # noqa
from .native_tests.contrib.walk import * # noqa from .native_tests.contrib.walk import * # noqa

View File

View File

@ -19,7 +19,7 @@
;; DEALINGS IN THE SOFTWARE. ;; DEALINGS IN THE SOFTWARE.
(import [hy.errors [HyMacroExpansionError]]) (import [hy.errors [HyMacroExpansionError]])
(require [hy.contrib.anaphoric [*]]) (require [hy.extra.anaphoric [*]])
;;;; some simple helpers ;;;; some simple helpers