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

Method sort

crates/common/src/env.rs:852–857  ·  view source on GitHub ↗

Constructs a sort expression from a universe level.

(x: Level)

Source from the content-addressed store, hash-verified

850
851 /// Constructs a free variable expression.
852 pub fn fvar(x: Name) -> Self {
853 let mut hasher = blake3::Hasher::new();
854 hasher.update(&[EFVAR]);
855 hasher.update(x.get_hash().as_bytes());
856 Expr(Arc::new(ExprData::Fvar(x, hasher.finalize())))
857 }
858
859 /// Constructs a metavariable expression.
860 pub fn mvar(x: Name) -> Self {

Callers 6

check_decompileFunction · 0.45
scc_to_vecFunction · 0.45
chain_no_cycleFunction · 0.45
two_cycles_connectedFunction · 0.45
complex_graphFunction · 0.45
preseed_expr_tablesFunction · 0.45

Calls 4

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

Tested by 3

chain_no_cycleFunction · 0.36
two_cycles_connectedFunction · 0.36
complex_graphFunction · 0.36