summaryrefslogtreecommitdiff
path: root/language/l2.lem
diff options
context:
space:
mode:
authorKathy Gray2014-06-04 18:17:32 +0100
committerKathy Gray2014-06-04 18:17:32 +0100
commit68ea054c0a26fd8da8198a449fc248ed621311c5 (patch)
tree2d404f4a8f5a13ea06d7f04b3a873a170b3d5ec9 /language/l2.lem
parent978f5bc208248afe284bb9488c4e892e9315c8a2 (diff)
Fixup type coercions and overloading
Reduce the number of implicit coercions we're doing, expanding overloading and fixing up types of functions. Warning: test_power does not run as not all overloaded funcitons are implemented Warning: vector concatenation does not pretty print to sail source yet
Diffstat (limited to 'language/l2.lem')
-rw-r--r--language/l2.lem1
1 files changed, 1 insertions, 0 deletions
diff --git a/language/l2.lem b/language/l2.lem
index fb8b7731..d82fbbc7 100644
--- a/language/l2.lem
+++ b/language/l2.lem
@@ -232,6 +232,7 @@ type exp_aux 'a = (* Expression *)
| E_vector_subrange of (exp 'a) * (exp 'a) * (exp 'a) (* subvector extraction *)
| E_vector_update of (exp 'a) * (exp 'a) * (exp 'a) (* vector functional update *)
| E_vector_update_subrange of (exp 'a) * (exp 'a) * (exp 'a) * (exp 'a) (* vector subrange update (with vector) *)
+ | E_vector_append of (exp 'a) * (exp 'a) (* vector concatenation *)
| E_list of list (exp 'a) (* list *)
| E_cons of (exp 'a) * (exp 'a) (* cons *)
| E_record of (fexps 'a) (* struct *)