def runs.emit

gralha-coverage@0.1.0.1 · cover.bend:439

import gralha-coverage@0.1.0.1/cover.bend as Cover
import Base

439# Prepend the run [x0, x1) of value v, extending the head when they meet with one value.
440def runs.emit(+x0: U32, +x1: U32, +v: F32, acc: List<&2, Run>) -> List<&2, Run>:
441  runs.emit.some(U32.is_ge(x0, x1) || F32.is_eq(v, 0.0), x0, x1, v, acc)

Uses (8)

Used by (3)