def hop.go
import ezx@1.11.0.0/src/ws/run.bend as Runimport Base
import ezx@1.11.0.0/src/share/pass.bend as Pass
import ezx@1.11.0.0/src/ws/hop.bend as H
78# the same words run again at the root
79def hop.go(+dir: String, +pwd: String, xs: List<&2, String>) -> IO(U32):
80 match xs:
81 case []:
82 IO.pure(U32, 1)
83 case +prog <> rest:
84 Pass.run(H.line(dir, pwd, prog, rest))