ref: 8bc429fb93070938b8bc5d459da4f2664c00abae
dir: /lib/std/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 ;; }