@@ -842,15 +842,24 @@ impl<'arena, 'env> ElimEnv<'arena, 'env> {
842842 ( Prim :: FormatArray16 , [ Elim :: FunApp ( len) , Elim :: FunApp ( elem) ] ) => {
843843 Value :: prim ( Prim :: Array16Type , [ len. clone ( ) , self . format_repr ( elem) ] )
844844 }
845- ( Prim :: FormatArray16Map , [ Elim :: FunApp ( len) , _, Elim :: FunApp ( map_fn) , _] ) => {
846- Value :: prim ( Prim :: Array16Type , [ len. clone ( ) , self . format_repr ( map_fn) ] )
847- }
848845 ( Prim :: FormatArray32 , [ Elim :: FunApp ( len) , Elim :: FunApp ( elem) ] ) => {
849846 Value :: prim ( Prim :: Array32Type , [ len. clone ( ) , self . format_repr ( elem) ] )
850847 }
851848 ( Prim :: FormatArray64 , [ Elim :: FunApp ( len) , Elim :: FunApp ( elem) ] ) => {
852849 Value :: prim ( Prim :: Array64Type , [ len. clone ( ) , self . format_repr ( elem) ] )
853850 }
851+ ( Prim :: FormatArray8Map , [ Elim :: FunApp ( len) , _, Elim :: FunApp ( map_fn) , _] ) => {
852+ Value :: prim ( Prim :: Array8Type , [ len. clone ( ) , self . format_repr ( map_fn) ] )
853+ }
854+ ( Prim :: FormatArray16Map , [ Elim :: FunApp ( len) , _, Elim :: FunApp ( map_fn) , _] ) => {
855+ Value :: prim ( Prim :: Array16Type , [ len. clone ( ) , self . format_repr ( map_fn) ] )
856+ }
857+ ( Prim :: FormatArray32Map , [ Elim :: FunApp ( len) , _, Elim :: FunApp ( map_fn) , _] ) => {
858+ Value :: prim ( Prim :: Array32Type , [ len. clone ( ) , self . format_repr ( map_fn) ] )
859+ }
860+ ( Prim :: FormatArray64Map , [ Elim :: FunApp ( len) , _, Elim :: FunApp ( map_fn) , _] ) => {
861+ Value :: prim ( Prim :: Array64Type , [ len. clone ( ) , self . format_repr ( map_fn) ] )
862+ }
854863 ( Prim :: FormatLimit8 , [ _, Elim :: FunApp ( elem) ] ) => return self . format_repr ( elem) ,
855864 ( Prim :: FormatLimit16 , [ _, Elim :: FunApp ( elem) ] ) => return self . format_repr ( elem) ,
856865 ( Prim :: FormatLimit32 , [ _, Elim :: FunApp ( elem) ] ) => return self . format_repr ( elem) ,
0 commit comments