Version 0.9.2
"Through the looking glass" edition:
- new
multilambdablock macro: supercharge regular Python lambdas, contained lexically inside the block, with support for multiple expressions and local variables. Use brackets to denote a multi-expression body. - new
fupmacro providing more natural syntax for functional updates; allows using slice syntax. - upgrade: the
letmacros can now optionally have a multi-expression body. To enable, wrap the body in an extra set of brackets. - remove the 0.9.0 multilambda
λ; brittle and was missing features.
The macros implement the multi-expression bodies by inserting a do; this introduces an internal-definition context for local variables. See its documentation in the macro_extras README for usage.
The macro_extras README now includes a table of contents for easy browsability.