Pymba - Python functional statements
Pymbda is a library that I wrote which turns a few Python statements into functions. It’s not quite Hylang, but it’s as functional as Python can be.
Right now there are four functions: if_, ifelse, tryexcept, and with_
if_ takes a predicate function or an object as its first parameter, and will either evaluate the function or check the truthiness of the first parameter. if true it will execute the second parameter as a function.
tryexcept allows try/except statements to be used as a lambda function