summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ur/basis.urs1
-rw-r--r--lib/ur/string.ur1
-rw-r--r--lib/ur/string.urs1
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs
index 0938096b..727f2e39 100644
--- a/lib/ur/basis.urs
+++ b/lib/ur/basis.urs
@@ -81,6 +81,7 @@ val chr : int -> char
(** String operations *)
val strlen : string -> int
+val strlenGe : string -> int -> bool
val strcat : string -> string -> string
val strsub : string -> int -> char
val strsuffix : string -> int -> string
diff --git a/lib/ur/string.ur b/lib/ur/string.ur
index 6a269373..235e5939 100644
--- a/lib/ur/string.ur
+++ b/lib/ur/string.ur
@@ -3,6 +3,7 @@ type t = Basis.string
val str = Basis.str1
val length = Basis.strlen
+val lengthGe = Basis.strlenGe
val append = Basis.strcat
val sub = Basis.strsub
diff --git a/lib/ur/string.urs b/lib/ur/string.urs
index 552da557..52aa27b6 100644
--- a/lib/ur/string.urs
+++ b/lib/ur/string.urs
@@ -3,6 +3,7 @@ type t = string
val str : char -> t
val length : t -> int
+val lengthGe : t -> int -> bool
val append : t -> t -> t