def Int.shl
import bend-kit-int@0.2.0.0/int.bend as Intimport Base
252def Int.shl(+n: Nat, k: Nat, w: Word(n)) -> Word(n):
253 match k:
254 case 0n:
255 w
256 case 1n+j:
257 Int.shl(n, j, Word.shl(n, w))
import bend-kit-int@0.2.0.0/int.bend as Intimport Base
252def Int.shl(+n: Nat, k: Nat, w: Word(n)) -> Word(n):
253 match k:
254 case 0n:
255 w
256 case 1n+j:
257 Int.shl(n, j, Word.shl(n, w))