ref: 06f83c93631d8af9eb25199a8229183c48b89ce8
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 }