def line

ezmcp@0.1.0.0 · src/line.bend:213

import ezmcp@0.1.0.0/src/line.bend as Line
import Base
import ezmcp@0.1.0.0/src/server.bend as Server

213# what a server does with one line read by revision `rev`, and the revision
214# the next line is read by: nothing for a blank one, and the revision
215# unchanged; else the server's turn on its text
216def line(srv: Server.Server, rev: String, bs: List<&2, U32>) -> Server.Turn:
217  line.text(srv, rev, decode(bs))

Uses (7)

Used by (1)