From e2dde2e24f581d37eb862392aee1cb2e09cf0951 Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Wed, 27 Apr 2011 07:13:09 +0000 Subject: fixed cmap signature --- lib/Numeric/ContainerBoot.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Numeric/ContainerBoot.hs b/lib/Numeric/ContainerBoot.hs index fd94e06..a605545 100644 --- a/lib/Numeric/ContainerBoot.hs +++ b/lib/Numeric/ContainerBoot.hs @@ -95,7 +95,7 @@ class (Complexable c, Fractional e, Element e) => Container c e where arctan2 :: c e -> c e -> c e -- -- | cannot implement instance Functor because of Element class constraint - cmap :: (Element a, Element b) => (a -> b) -> c a -> c b + cmap :: (Element b) => (e -> b) -> c e -> c b -- | constant structure of given size konst :: e -> IndexOf c -> c e -- | create a structure using a function -- cgit v1.2.3