def arr.min

bend-toon-codec@0.1.0.0 · src/frame.bend:215

import bend-toon-codec@0.1.0.0/src/frame.bend as Frame
import Base
import bend-toon-codec@0.1.0.0/src/split.bend as S

215# Shallowest array frame that already has an item or row.
216def arr.min(+stk: List<&2, Fr>) -> U32:
217  match stk:
218    case Nil{}:
219      S.none()
220    case Con{top, rest}:
221      U32.min(arr.depth(top), arr.min(rest))

Uses (6)

Used by (1)