Version 0.9.0
"Super Syntactic Fortress MACROS" edition:
- Macros! New module
unpythonic.syntax
, adding syntactic macros for constructs where this improves usability. Seemacro_extras
for documentation.- Notable macros include
curry
(automatic currying for Python) andcond
(multi-branch conditional expression, usable in a lambda), and macro variants of thelet
constructs (no boilerplate). - As of this writing, requires the latest MacroPy3 from git HEAD.
- Not loaded by default. To use,
from unpythonic.syntax import macros, ...
.
- Notable macros include
- Include generic MacroPy3 bootstrapper for convenience, to run macro-enabled Python programs.
- Fix bug in let constructs: should require unique names in the same
let
/letrec
. - Fix bug in
unpythonic.fun.apply
.