def Int.shr
import bend-kit-int@0.2.0.0/int.bend as Intimport Base
267def Int.shr(+n: Nat, +s: Bool, k: Nat, w: Word(n)) -> Word(n):
268 match k:
269 case 0n:
270 w
271 case 1n+j:
272 Int.shr(n, s, j, Int.shr1(n, s, w))
import bend-kit-int@0.2.0.0/int.bend as Intimport Base
267def Int.shr(+n: Nat, +s: Bool, k: Nat, w: Word(n)) -> Word(n):
268 match k:
269 case 0n:
270 w
271 case 1n+j:
272 Int.shr(n, s, j, Int.shr1(n, s, w))