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