def step.of
import bend-kit-postgres@0.3.0.0/scram.bend as Scramimport Base
187def step.of(r: Result<&1, &1, U32 & String, String>, k: String -> IO(Result<&1, &1, U32 & String, Final & String>)) -> IO(Result<&1, &1, U32 & String, Final & String>):
188 match r:
189 case Fail{e}:
190 IO.pure(Result<&1, &1, U32 & String, Final & String>, Fail{e})
191 case Done{s}:
192 k(s)