ref: 23156b142baa61ea67cec46d7f4da141c19f91bd
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 }