def rule.put

ezx@1.11.0.0 · src/ledger/ignore.bend:276

import ezx@1.11.0.0/src/ledger/ignore.bend as Ignore
import Base

276# a rule, in front of the rest, when the file does not have it
277def rule.put(there: Bool, +line: String, rest: List<&2, String>) -> List<&2, String>:
278  match there:
279    case True{}:
280      rest
281    case False{}:
282      line <> rest

Uses (3)

Used by (1)