def divide.push

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

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

37# one char of the divide, put back on the front of what the rest found
38def divide.push(h: Char, r: Cut) -> Cut:
39  match r:
40    case NoCut{}:
41      NoCut{}
42    case Cut{before, after}:
43      Cut{SCon{h, before}, after}

Uses (3)

Used by (1)