Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/argumentcomputer/ix
/ unit
Function
unit
crates/kernel/src/whnf.rs:3536–3538 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3534
3535
let s = match args[0].data() {
3536
ExprData::Str(s, _, _) => s,
3537
_ => return Ok(None),
3538
};
3539
if is_utf8_byte_size {
3540
let n = Nat::from(s.len() as u64);
3541
let addr = Address::hash(&n.to_le_bytes());
Callers
2
unit_env
Function · 0.85
whnf_unit_like_rec_eta_on_open_major
Function · 0.85
Calls
1
cnst
Function · 0.70
Tested by
1
whnf_unit_like_rec_eta_on_open_major
Function · 0.68