@@ -844,15 +844,24 @@ impl<'arena, 'env> ElimEnv<'arena, 'env> {
844844 ( Prim :: FormatArray16 , [ Elim :: FunApp ( len) , Elim :: FunApp ( elem) ] ) => {
845845 Value :: prim ( Prim :: Array16Type , [ len. clone ( ) , self . format_repr ( elem) ] )
846846 }
847- ( Prim :: FormatArray16Map , [ Elim :: FunApp ( len) , _, Elim :: FunApp ( map_fn) , _] ) => {
848- Value :: prim ( Prim :: Array16Type , [ len. clone ( ) , self . format_repr ( map_fn) ] )
849- }
850847 ( Prim :: FormatArray32 , [ Elim :: FunApp ( len) , Elim :: FunApp ( elem) ] ) => {
851848 Value :: prim ( Prim :: Array32Type , [ len. clone ( ) , self . format_repr ( elem) ] )
852849 }
853850 ( Prim :: FormatArray64 , [ Elim :: FunApp ( len) , Elim :: FunApp ( elem) ] ) => {
854851 Value :: prim ( Prim :: Array64Type , [ len. clone ( ) , self . format_repr ( elem) ] )
855852 }
853+ ( Prim :: FormatArray8Map , [ Elim :: FunApp ( len) , _, Elim :: FunApp ( map_fn) , _] ) => {
854+ Value :: prim ( Prim :: Array8Type , [ len. clone ( ) , self . format_repr ( map_fn) ] )
855+ }
856+ ( Prim :: FormatArray16Map , [ Elim :: FunApp ( len) , _, Elim :: FunApp ( map_fn) , _] ) => {
857+ Value :: prim ( Prim :: Array16Type , [ len. clone ( ) , self . format_repr ( map_fn) ] )
858+ }
859+ ( Prim :: FormatArray32Map , [ Elim :: FunApp ( len) , _, Elim :: FunApp ( map_fn) , _] ) => {
860+ Value :: prim ( Prim :: Array32Type , [ len. clone ( ) , self . format_repr ( map_fn) ] )
861+ }
862+ ( Prim :: FormatArray64Map , [ Elim :: FunApp ( len) , _, Elim :: FunApp ( map_fn) , _] ) => {
863+ Value :: prim ( Prim :: Array64Type , [ len. clone ( ) , self . format_repr ( map_fn) ] )
864+ }
856865 ( Prim :: FormatLimit8 , [ _, Elim :: FunApp ( elem) ] ) => return self . format_repr ( elem) ,
857866 ( Prim :: FormatLimit16 , [ _, Elim :: FunApp ( elem) ] ) => return self . format_repr ( elem) ,
858867 ( Prim :: FormatLimit32 , [ _, Elim :: FunApp ( elem) ] ) => return self . format_repr ( elem) ,
0 commit comments