ref: 49f6758a734dc98ed7764d2f2ff8dfb77d4c75b0
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 ;; }