ref: 974475bcfe52a488d9f5e83e474b6ca3670d5f6a
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 }