def alive_then
import cswap-bend-cli@0.1.0.0/daemon/sess.bend as Sessimport Base
289def alive_then(+up: Bool, +pid: U32, +stamp: Maybe<&2, String>) -> IO(Bool):
290 match up:
291 case True{}:
292 with_stamp(pid, stamp)
293 case False{}:
294 IO.pure(Bool, False{})