macro_rules! lambda {
[($( $t:tt )+)] => { ... };
[{$v:expr}] => { ... };
[$v:ident] => { ... };
[$v:ident.$( $t:tt )+] => { ... };
[$l:tt $( $t:tt )+] => { ... };
}
Expand description
Build lambda expression with String
identifier conveniently.
Generally:
- Dot
.
can be used to define abstraction. - Parentheses can be used to denote subexpression.
- Application is left associated by default.
If you find an expression not parsed, try adding parentheses to subexpressions.
For examples please checkout the home page.