summaryrefslogtreecommitdiff
path: root/lib/ur/string.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2014-06-11 08:31:14 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2014-06-11 08:31:14 -0400
commite1c99ba7a42a6305addbdcc1664f6b3ce1d57ea3 (patch)
treed601938188eed0ce7315a3a5986a6d6c00251fb6 /lib/ur/string.ur
parentf48923edfb5883f881a5ecbc9a96ad12d31680c0 (diff)
Change String to avoid Char dependency
Diffstat (limited to 'lib/ur/string.ur')
-rw-r--r--lib/ur/string.ur4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ur/string.ur b/lib/ur/string.ur
index d760ec2b..da4e7eb4 100644
--- a/lib/ur/string.ur
+++ b/lib/ur/string.ur
@@ -92,13 +92,13 @@ fun trim s =
val len = length s
fun findStart i =
- if i < len && Char.isSpace (sub s i) then
+ if i < len && isspace (sub s i) then
findStart (i+1)
else
i
fun findFinish i =
- if i >= 0 && Char.isSpace (sub s i) then
+ if i >= 0 && isspace (sub s i) then
findFinish (i-1)
else
i