def attempt
import cswap-bend-cli@0.1.0.0/lock.bend as Lockimport Base
import cswap-bend-cli@0.1.0.0/fs.bend as Fs
33# One attempt, as a Bool.
34def attempt(f: File) -> IO(File & Fs.Res(Bool)):
35 IO.bind(File & Fs.Res(U32), File & Fs.Res(Bool), Flock.try(f), tried)