ref: 85f8cd1246e4df870f8767bf64f3f1fe5f006101
dir: /libstd/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 ;; }