def bit

bend-collections@1.0.0.0 · spec/lib/common.bend:36

import bend-collections@1.0.0.0/spec/lib/common.bend as Common
import Base

36def bit(n: Nat) -> Nat:
37  match n:
38    case 0n:
39      0n
40    case 1n:
41      1n
42    case 2n+q:
43      bit(q)

Uses (1)

Used by (2)