def tail.line

ezx@1.11.0.0 · src/ez/quiet.bend:55

import ezx@1.11.0.0/src/ez/quiet.bend as Quiet
import Base

55# one line offered to the tail. The line is taken apart rather than asked about,
56# because a fold's step may not declare a `+` parameter to duplicate it.
57def tail.line(line: String, live: Bool, out: List<&2, String>) -> Tail:
58  match line:
59    case SNil{}:
60      tail.blank(live, out)
61    case SCon{c, t}:
62      Tail{True{}, SCon{c, t} <> out}

Uses (5)

Used by (1)