def answer
import cswap-bend-cli@0.1.0.0/cliops.bend as Cliopsimport Base
import cswap-bend-cli@0.1.0.0/act.bend as Act
35def answer(yes: Bool, +prefix: String, retry: Act.of(String)) -> Act.of(String):
36 match yes:
37 case True{}:
38 Act.bind(String, String, retry, t => Act.pure(String, prefix ++ "\n" ++ t))
39 case False{}:
40 Act.pure(String, prefix ++ "\nCancelled")