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