def ver.ok
import ezx@1.11.0.0/src/pkg/pkg.bend as Pkgimport Base
391# a version: four numbers, like 1.0.0.0
392def ver.ok(+text: String) -> Bool:
393 +ps = String.split(text, '.')
394 Bool.and(Nat.is_eq(List.length(&2, String, ps), 4n), ver.nums(ps))