Installation¶
How to installing the module¶
Install the project into your Python environment:
$ pip install pythonic-fp.circulararray
Importing the module¶
Import the CA
class and ca
“factory function” into your code.
from pythonic_fp.circulararray import CA, ca
Note
Like Python’s built-in list, CA
takes up to one iterable. The ca
function behaves like Python’s []
syntax where ca
creates a CA
object from the arguments passed to it.