Changeset 2032 for src/common/Values.ma


Ignore:
Timestamp:
Jun 8, 2012, 4:32:03 PM (8 years ago)
Author:
sacerdot
Message:

!! BEWARE: major commit !!

1) [affects everybody]

split for vectors renamed to vsplit to reduce ambiguity since split is
now also a function in the standard library.
Note: I have not been able to propagate the changes everywhere in
the front-end/back-end because some files do not compile

2) [affects everybody]

functions on Vectors copied both in the front and back-ends moved to
Vectors.ma

3) [affects only the back-end]

subaddressing_mode_elim redesigned from scratch and now also applied to
Policy.ma. Moreover, all daemons about that have been closed.
The new one is much simpler to apply since it behaves like a standard
elimination principle: @(subaddressing_mode_elim \ldots x) where x is
the thing to eliminate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/common/Values.ma

    r1872 r2032  
    214214  [ Vint sz1 n1 ⇒ match v2 with
    215215    [ Vint sz2 n2 ⇒ intsize_eq_elim ? sz1 sz2 ? n1
    216                     (λn1. Vint sz2 (\snd (split … (multiplication ? n1 n2))))
     216                    (λn1. Vint sz2 (\snd (vsplit … (multiplication ? n1 n2))))
    217217                    Vundef
    218218    | _ ⇒ Vundef ]
Note: See TracChangeset for help on using the changeset viewer.