<NME> monadic.py
<BEF> """Some useful Monadic functions.

This module contains some useful Monadic functions. Most functions
are extension methods to the Monad class, making them available to
subclasses that inherit from Monad.
"""
from typing import Callable, Any

from .typing import Monad



@extensionmethod(Monad, alias="sequence")
def __rshift__(self, next):
    """Sequentially compose two actions, discarding any value produced
    by the first, like sequencing operators (such as the semicolon) in
    imperative languages.

    Haskell: (>>) :: m a -> m b -> m b
    """

<MSG> Docstring fixes

<DFF> @@ -12,9 +12,9 @@ from .abc import Monad
 
 @extensionmethod(Monad, alias="sequence")
 def __rshift__(self, next):
-    """Sequentially compose two actions, discarding any value produced
-    by the first, like sequencing operators (such as the semicolon) in
-    imperative languages.
+    """Sequentially compose two monadic actions, discarding any value
+    produced by the first, like sequencing operators (such as the
+    semicolon) in imperative languages.
 
     Haskell: (>>) :: m a -> m b -> m b
     """

Docstring fixes