From ca021dad591f47dbe1581c19c4ae4bf1fee821b9 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 18 Feb 2014 19:53:35 -0500 Subject: [PATCH] Fix the type of zip2 to be more general. --- src/Linear/Matrix.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Linear/Matrix.hs b/src/Linear/Matrix.hs index cefad60..8266557 100644 --- a/src/Linear/Matrix.hs +++ b/src/Linear/Matrix.hs @@ -856,7 +856,7 @@ trace matrix = -- >>> zip2 m1 m2 -- (((1,1),(2,1)),((3,1),(4,1))) -- -zip2 :: (Arity m, Arity n) => Mat m n a -> Mat m n a -> Mat m n (a,a) +zip2 :: (Arity m, Arity n) => Mat m n a -> Mat m n b -> Mat m n (a,b) zip2 m1 m2 = construct lambda where -- 2.43.2