ref: 16b894430a5b71f4956ee305229bbbffd13605d0
dir: /lib/std/hassuffix.myr/
use "traits" use "sleq" pkg std = const hassuffix : (s : byte[:], suff : byte[:] -> bool) ;; const hassuffix = {s, suff var tail if suff.len <= s.len tail = s[s.len - suff.len:] -> eq(tail, suff) ;; -> false }