summaryrefslogtreecommitdiff
path: root/lib/ur/string.urs
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-01-10 13:44:22 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-01-10 13:44:22 -0500
commitbdcf695651fbeff603d6f1c061b410c0cb733dcb (patch)
tree3519220c69228ad1cd9aba3c3e1096daf7eb1a58 /lib/ur/string.urs
parentb9fd5b30dab83e12206e4b260e1ea775da7cedde (diff)
Reduce concatenations of the empty record; unpoly non-recursive functions
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 fda30ad9..5590b50c 100644
--- a/lib/ur/string.urs
+++ b/lib/ur/string.urs
@@ -20,3 +20,5 @@ val split : t -> char -> option (string * string)
val msplit : {Haystack : t, Needle : t} -> option (string * char * string)
val all : (char -> bool) -> string -> bool
+
+val newlines : ctx ::: {Unit} -> [[Body] ~ ctx] => string -> xml ([Body] ++ ctx) [] []