summaryrefslogtreecommitdiff
path: root/lib/basis.urs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/basis.urs')
-rw-r--r--lib/basis.urs2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/basis.urs b/lib/basis.urs
index b2f3122d..3bd2459c 100644
--- a/lib/basis.urs
+++ b/lib/basis.urs
@@ -32,6 +32,8 @@ val show_bool : show bool
class read
val read : t ::: Type -> read t -> string -> option t
+val readError : t ::: Type -> read t -> string -> t
+(* [readError] calls [error] if the input is malformed. *)
val read_int : read int
val read_float : read float
val read_string : read string