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

Method max

crates/common/src/env.rs:326–332  ·  view source on GitHub ↗

Constructs `max x y`.

(x: Level, y: Level)

Source from the content-addressed store, hash-verified

324 | LevelData::Max(.., h)
325 | LevelData::Imax(.., h)
326 | LevelData::Param(_, h)
327 | LevelData::Mvar(_, h) => h,
328 }
329 }
330 /// Constructs universe level 0.
331 pub fn zero() -> Self {
332 Level(Arc::new(LevelData::Zero(blake3::hash(&[UZERO]))))
333 }
334 /// Constructs the successor of universe level `x`.
335 pub fn succ(x: Level) -> Self {

Callers 7

decompile_envFunction · 0.45
n_canonical_auxMethod · 0.45
n_canonical_aux_for_permFunction · 0.45
compute_call_site_plansFunction · 0.45
compile_env_with_optionsFunction · 0.45
mk_max_auxFunction · 0.45
reorder_flat_by_layoutFunction · 0.45

Calls 4

as_bytesMethod · 0.80
get_hashMethod · 0.80
finalizeMethod · 0.80
LevelClass · 0.70

Tested by

no test coverage detected