def put

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

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

30# a line kept or dropped
31def put(drop: Bool, line: String, rest: List<&2, String>) -> List<&2, String>:
32  match drop:
33    case True{}:
34      rest
35    case False{}:
36      line <> rest

Uses (3)

Used by (1)