funky.py and container.py are implementation of tools from functional programming and Mathematical category theory.
It is certainly an experiment to see if could be done, and i'm not a python expert so my code is likely not great.
Would love both feed back, and pull requests to improve it.
things already addressed
- container class an implementation of a mathematical functor from Category Theory
- Compose function see https://en.wikipedia.org/wiki/Function_composition
- Curry function see https://en.wikipedia.org/wiki/Currying
- Identity function see https://en.wikipedia.org/wiki/Identity_function
- logicalNot function see https://en.wikipedia.org/wiki/Complement_(set_theory)
- logicalOr function see Union of sets https://en.wikipedia.org/wiki/Union_(set_theory)
- logicalAnd function see difference intersection of sets https://en.wikipedia.org/wiki/Intersection_(set_theory)
- Either function reducing imperial if statements and trying to map results mathematically
Contributing
- advise and recomendation's on the libary.
- pull requests ( code or tests )
- documentation including example's of using the libary would all be very appreciated.
Regards