def phrase.to.at

emerging-ezhttp@0.21.0.0 · src/http.bend:1817

import emerging-ezhttp@0.21.0.0/src/http.bend as Http
import Base

1817# a head that has ended, or none
1818def phrase.to.at(cut: Cut, rest: Cut -> String) -> String:
1819  match cut:
1820    case NoCut{}:
1821      ""
1822    case Cut{before, +after}:
1823      +ls = String.lines(before)
1824      phrase.to.step(ls, after, interim.skip(status.of(ls), after), rest)

Uses (6)

Used by (1)