def sn.of
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
5091def sn.of(n: Next) -> Sn:
5092 match n:
5093 case NGo{l, h}:
5094 SnGo{l, h}
5095 case NStop{}:
5096 SnDone{Fail{ErrRedirect{}}}
5097 case NDone{m}:
5098 match m:
5099 case Fail{e}:
5100 SnDone{Fail{e}}
5101 case Done{r}:
5102 SnDone{Fail{ErrBad{}}}