ref: fce00d2eea950d46cab89b42b9cf729e7b1db459
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 ;; ;; }