pymonad.io
index
/usr/home/jason/Files/projects/pymonad/pymonad/io.py

Implements a monadic wrapper type for impure procedures.

 
Modules
       
pymonad

 
Functions
       
IO(function: Callable[[], ~A]) -> pymonad.io._IO[~A]
The IO Monad constructor function.
 
Args:
  function - a arity-0 function which can perform any actions,
  including impure actions, and return any result or None.
 
Result:
  An instance of the IO monad.

 
Data
        A = ~A
Any = typing.Any
B = ~B
Callable = typing.Callable
Tuple = typing.Tuple
Union = typing.Union