def piece.take.idx
import gralha-coverage@0.1.0.1/cover.bend as Coverimport Base
887def piece.take.idx(got: Array<U32> & U32, a: Array<F32>, +k: U32, +n: U32, +bottom: F32, active: List<&2, Piece>) -> (Array<F32> & Array<U32>) & PieceTake:
888 (order, i) = got
889 +base = (i * 4 : U32)
890 piece.take.y0(Array.get(F32, a, (base + 1 : U32)), order, base, k, n, bottom, active)