diff options
| author | Alasdair Armstrong | 2019-02-07 15:54:07 +0000 |
|---|---|---|
| committer | Alasdair Armstrong | 2019-02-07 18:01:21 +0000 |
| commit | 79438c3822d86169680188280ddfabe77395de82 (patch) | |
| tree | bf745d0acdda1e6831f2372873715e1b00b2abd7 /test/mono/feature.sail | |
| parent | a0798a777d800f6255a1370806435a51d418a249 (diff) | |
Add a symbol for new implicit arguments for backwards compatability
Fix monomorphisation tests
Diffstat (limited to 'test/mono/feature.sail')
| -rw-r--r-- | test/mono/feature.sail | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mono/feature.sail b/test/mono/feature.sail index c7e13e11..c12f79e8 100644 --- a/test/mono/feature.sail +++ b/test/mono/feature.sail @@ -10,8 +10,8 @@ overload operator * = {mult_range, mult_int, mult_real} val replicate_bits = "replicate_bits" : forall 'n 'm. (bits('n), atom('m)) -> bits('n * 'm) overload operator < = {lt_atom, lt_int} val "extz_vec" : forall 'n 'm. (atom('m),vector('n, dec, bit)) -> vector('m, dec, bit) effect pure -val extzv : forall 'n 'm. vector('n, dec, bit) -> vector('m, dec, bit) effect pure -function extzv(v) = extz_vec(sizeof('m),v) +val extzv : forall 'n 'm. (implicit('m), vector('n, dec, bit)) -> vector('m, dec, bit) effect pure +function extzv(m, v) = extz_vec(m,v) val bitvector_concat = {ocaml: "append", lem: "concat_vec", c: "append"} : forall ('n : Int) ('m : Int). (bits('n), bits('m)) -> bits('n + 'm) overload append = {bitvector_concat} |
