ref: 05d7bc89b7b144997e91c764c9aa0bbdddc0dcac
dir: /libstd/hassuffix.myr/
use "cmp.use" 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:] match strncmp(tail, suff, suff.len) | `Equal: -> true | _: -> false ;; ;; }