diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-05-31 12:41:34 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-05-31 12:41:34 -0400 |
commit | f28d649eedad9ebd39dab473150faa9001bcb017 (patch) | |
tree | 4eac927486b596ee7118f84c2dc468489840e98d /lib/ur/string.urs | |
parent | dee3eaade170a85f7c2619275e2bdef28038b152 (diff) |
strcspn and friends
Diffstat (limited to 'lib/ur/string.urs')
-rw-r--r-- | lib/ur/string.urs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ur/string.urs b/lib/ur/string.urs index 097a423f..8fd434b4 100644 --- a/lib/ur/string.urs +++ b/lib/ur/string.urs @@ -10,6 +10,9 @@ val suffix : t -> int -> string val index : t -> char -> option int val atFirst : t -> char -> option string +val mindex : {Haystack : t, Needle : t} -> option int + val substring : t -> {Start : int, Len : int} -> string val split : t -> char -> option (string * string) +val msplit : {Haystack : t, Needle : t} -> option (string * char * string) |