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

Function new_tc

crates/kernel/src/tc.rs:1173–1176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1171 ExprData::Const(id, us, _) => format!("{id}.{{{}}}", us.len()),
1172 ExprData::App(..) => "app".to_string(),
1173 ExprData::Lam(..) => "lam".to_string(),
1174 ExprData::All(..) => "forall".to_string(),
1175 ExprData::Let(..) => "let".to_string(),
1176 ExprData::Prj(id, field, _, _) => format!("Prj({id}.{field})"),
1177 ExprData::Nat(v, _, _) => format!("Nat({})", v.0),
1178 ExprData::Str(v, _, _) => format!("Str(len={})", v.len()),
1179 };

Calls

no outgoing calls