Skip to content

Commit af7e76e

Browse files
committed
adjust module docstring
1 parent bd15543 commit af7e76e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

unpythonic/monads/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@
3737
- ``liftm``, ``liftm2``, ``liftm3`` — lift regular functions into monadic ones
3838
3939
The subpackage is **not** re-exported at the top level of ``unpythonic`` —
40-
import directly as ``from unpythonic.monads import Maybe``, etc. This
41-
matches the pattern of ``from unpythonic.env import env``.
40+
import directly as ``from unpythonic.monads import Maybe``, etc. This is
41+
because ``unpythonic`` is mostly lispy, not haskelly, and some of these
42+
constructs have names that could be confusing in the top-level namespace.
4243
4344
For do-notation syntax over any of these monads, see the macro
4445
``from unpythonic.syntax import monadic_do``.
@@ -62,7 +63,7 @@
6263
- http://www.valuedlessons.com/2008/01/monads-in-python-with-nice-syntax.html
6364
6465
This subpackage is ported from the teaching code at
65-
https://github.com/Technologicat/python-3-scicomp-intro/blob/master/examples/monads.py.
66+
https://github.com/Technologicat/python-3-scicomp-intro/blob/master/examples/monads.py
6667
"""
6768

6869
from .abc import * # noqa: F401, F403

0 commit comments

Comments
 (0)