def cursor

emerging-ezjson@1.3.0.0 · src/pull.bend:1629

import emerging-ezjson@1.3.0.0/src/pull.bend as Pull
import Base

1629# a cursor at the start of `src`. It holds that string as its unread suffix,
1630# so dropping the caller's own variable does not drop the cursor, and
1631# dropping the cursor drops what it has not read yet
1632def cursor(src: String) -> Cur:
1633  Cur{src, Nil{}, False{}, False{}}

Uses (4)

Used by (1)