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