ref: c96b770a0aa93c1e7b99e5874808af85ddacc6a7
dir: /libstd/hassuffix.myr/
use "sleq.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:]
-> sleq(tail, suff)
;;
-> false
}