Skip to main content

lean

Macro lean 

Source
lean!() { /* proc-macro */ }
Expand description

Lean source checked and compiled by the build script.

ⓘ
leanfran::lean! {
    /// Documentation of the module.
    #[lean(imports = ["Std.Data.HashMap"], uses = [crate::geometry::shapes])]
    pub mod arith;
    r#"
    def double (n : Nat) : Nat := n + n
    "#
}