summaryrefslogtreecommitdiff
path: root/lib/ur/string.urs
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-12-05 14:01:34 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-12-05 14:01:34 -0500
commit20fe6fd5bb27486a7f3483ead05061e967c5a105 (patch)
tree27acc16bb8d3b12293fbbae8b833d7ff2e731aa9 /lib/ur/string.urs
parent7bfb616805a8c693aeb94067faf1098a0b50cbe5 (diff)
Represent FFI function names as strings, to deal with cross-file recursion
Diffstat (limited to 'lib/ur/string.urs')
-rw-r--r--lib/ur/string.urs2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ur/string.urs b/lib/ur/string.urs
index 1b584c08..fda30ad9 100644
--- a/lib/ur/string.urs
+++ b/lib/ur/string.urs
@@ -18,3 +18,5 @@ 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)
+
+val all : (char -> bool) -> string -> bool