MCPcopy Create free account
hub / github.com/argumentcomputer/ix / fvar

Method fvar

crates/common/src/env.rs:836–841  ·  view source on GitHub ↗

Constructs a free variable expression.

(x: Name)

Source from the content-addressed store, hash-verified

834 | ExprData::App(.., h)
835 | ExprData::Lam(.., h)
836 | ExprData::ForallE(.., h)
837 | ExprData::LetE(.., h)
838 | ExprData::Lit(_, h)
839 | ExprData::Mdata(.., h)
840 | ExprData::Proj(.., h) => h,
841 }
842 }
843 /// Constructs a bound variable expression from a de Bruijn index.
844 pub fn bvar(x: Nat) -> Self {

Callers

nothing calls this directly

Calls 4

as_bytesMethod · 0.80
get_hashMethod · 0.80
finalizeMethod · 0.80
ExprClass · 0.70

Tested by

no test coverage detected