ref: 58f59a52b75a9bd3d1be9ae6f4532f5949e45896
dir: /libstd/hasprefix.myr/
use "cmp.use" pkg std = const hasprefix : (s : byte[:], pre : byte[:] -> bool) ;; const hasprefix = {s, pre match strncmp(s, pre, pre.len) | `Equal: -> true | _: -> false ;; }