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