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 | a6424094365f7d63b6c9dade8f8f72ef26e92b45 (patch) | |
tree | 4eac927486b596ee7118f84c2dc468489840e98d /lib/ur/string.urs | |
parent | bd0d3db78996b00e153252f03b02551ac3fde4cf (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) |