diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-05-30 13:29:00 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-05-30 13:29:00 -0400 |
commit | adefca12f83d73986b0f860621232b17c130c742 (patch) | |
tree | ff01535ec8b49034e5cb39f0be1e36261bea9d8b /lib/ur/basis.urs | |
parent | 0ee7bc2859f77d610ef4a8edd2acce8e5e0fe58c (diff) |
Substring functions; fix a nasty MonoReduce pattern match substitution bug
Diffstat (limited to 'lib/ur/basis.urs')
-rw-r--r-- | lib/ur/basis.urs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs index c63c5ed4..d70ccc24 100644 --- a/lib/ur/basis.urs +++ b/lib/ur/basis.urs @@ -57,6 +57,9 @@ val strlen : string -> int val strcat : string -> string -> string val strsub : string -> int -> char val strsuffix : string -> int -> string +val strchr : string -> char -> option string +val strindex : string -> char -> option int +val substring : string -> int -> int -> string class show val show : t ::: Type -> show t -> t -> string |