def over.now
import ezx@1.11.0.0/src/ez/timer.bend as Timerimport Base
import snap@1.4.0.0/main.bend as R
36# whether the deadline has gone by
37def over.now(+deadline: String) -> IO(Bool):
38 do IO<Bool>:
39 +now : String <- R.exec(["date", "+%s"])
40 +cmp : String <- R.exec(["test", String.trim(R.text(now)), "-gt", deadline])
41 return R.ok(cmp)