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