def w8s.take.go
import bend-osdev-bytes@0.1.1.0/bytes.bend as Bytesimport Base
481def w8s.take.go(n: Nat, ws: List<&2, OctByte>, acc: List<&2, OctByte>) -> List<&2, OctByte>:
482 match n:
483 case 0n:
484 acc
485 case 1n+p:
486 match ws:
487 case Nil{}:
488 acc
489 case Con{h, t}:
490 w8s.take.go(p, t, Con{h, acc})