From c6ce13642a2035789b6821a4a2927bc4349d1f15 Mon Sep 17 00:00:00 2001 From: Roman Leshchinskiy Date: Wed, 12 Mar 2008 03:49:05 +0000 Subject: [PATCH] Make sure we generate PA dictionaries for tuples up to mAX_NDP_PROD --- compiler/vectorise/VectBuiltIn.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/vectorise/VectBuiltIn.hs b/compiler/vectorise/VectBuiltIn.hs index 09000ea..4a47457 100644 --- a/compiler/vectorise/VectBuiltIn.hs +++ b/compiler/vectorise/VectBuiltIn.hs @@ -308,7 +308,7 @@ builtinPAs bi where mk name mod fs = (name, mod, fs) - tups = map mk_tup [2..3] + tups = map mk_tup [2..mAX_NDP_PROD] mk_tup n = mk (tyConName $ tupleTyCon Boxed n) nDP_INSTANCES (mkFastString $ "dPA_" ++ show n) -- 1.7.10.4