Move contrib.anaphoric to contrib.extra
This commit is contained in:
parent
670c5ae7e5
commit
8eceb4fe9d
@ -2,12 +2,15 @@
|
||||
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:
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 3
|
||||
|
||||
anaphoric
|
||||
flow
|
||||
loop
|
||||
multi
|
||||
|
@ -13,9 +13,9 @@ concise and easy to read.
|
||||
|
||||
-- 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:
|
||||
|
@ -10,3 +10,5 @@ Contents:
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 3
|
||||
|
||||
anaphoric
|
||||
|
@ -14,7 +14,7 @@ from .native_tests.core import * # noqa
|
||||
from .native_tests.reader_macros import * # noqa
|
||||
from .native_tests.shadow 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.meth import * # noqa
|
||||
from .native_tests.contrib.walk import * # noqa
|
||||
|
0
tests/native_tests/extra/__init__.hy
Normal file
0
tests/native_tests/extra/__init__.hy
Normal file
@ -19,7 +19,7 @@
|
||||
;; DEALINGS IN THE SOFTWARE.
|
||||
|
||||
(import [hy.errors [HyMacroExpansionError]])
|
||||
(require [hy.contrib.anaphoric [*]])
|
||||
(require [hy.extra.anaphoric [*]])
|
||||
|
||||
;;;; some simple helpers
|
||||
|
Loading…
x
Reference in New Issue
Block a user