ref: 0f79e7dd998f35f84ce794cc5adeaad683ac0022
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 }