Docs.rs
lmbd-0.1.3
lmbd 0.1.3
Docs.rs crate page
MIT
OR
Apache-2.0
Links
crates.io
Source
Owners
HunLuanZhiZhu
Dependencies
Versions
11.11%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Crate lambda
Version 0.1.3
All Items
Macros
?
Crate
lambda
source
·
[
−
]
Macros
add
add1
if_same_else
lambda
基础语法 f1, f2, f3 依次运算 将f2作为参数传给f1,将f3传给第一次运算的结果 f1,(f2, f3)先计算 将f3作为参数传给f2,将第一次运算的结果传给 f1 {…}x y z 以空格分隔的标识符是函数的变量 x = … 将运算的最终结果赋值给x { … __ …} __ x y z , f 使用已经定义的常量时,将它作为第一个变量传入 其他的语法都是由lambda宏自己生成的,可以不使用
named
one
to_str
zero