summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlasdair Armstrong2017-07-27 13:54:49 +0100
committerAlasdair Armstrong2017-07-27 13:54:49 +0100
commit34c27ada18e9e36a0224e2ff9999559ed2899157 (patch)
tree965e00c20eb381b5547961cb02092d16f3897e9d /lib
parent10daf305e6620b7088b08d7fbe58fea314736162 (diff)
parent55cef4bf4baf94c5984b02aea6d53abcf82ba1ea (diff)
Merge remote-tracking branch 'origin/sail_new_tc' into experiments
Diffstat (limited to 'lib')
-rw-r--r--lib/prelude.sail7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/prelude.sail b/lib/prelude.sail
index bb19aa8d..bac9532c 100644
--- a/lib/prelude.sail
+++ b/lib/prelude.sail
@@ -181,6 +181,13 @@ overload (deinfix <<) [
shiftl
]
+val forall Num 'n, Num 'o, Order 'ord.
+ (vector<'o, 'n, 'ord, bit>, int) -> vector<'o, 'n, 'ord, bit> effect pure shiftr
+
+overload (deinfix >>) [
+ shiftr
+]
+
(* Boolean operators *)
val bool -> bool effect pure bool_not
val (bool, bool) -> bool effect pure bool_or