pymonad
.
operators
.list
index
/usr/home/jason/Files/projects/pymonad/pymonad/operators/list.py
Adds operators to the List monad.
Modules
pymonad
Functions
ListMonad
(*elements: List[~T]) -> pymonad.operators.list._List[~T]
Creates an instance of the List monad.
Args:
*elements: any number of elements to be inserted into the list
Returns:
An instance of the List monad.
Data
List
= typing.List
T
= ~T