diff options
author | Alberto Ruiz <aruiz@um.es> | 2011-04-27 07:13:09 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2011-04-27 07:13:09 +0000 |
commit | e2dde2e24f581d37eb862392aee1cb2e09cf0951 (patch) | |
tree | f64c4c7804740ea9f8a5f460a9f115cdffc8d18b /lib | |
parent | 9dec8034f28289120dd98452c26d153713346668 (diff) |
fixed cmap signature
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Numeric/ContainerBoot.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
95 | arctan2 :: c e -> c e -> c e | 95 | arctan2 :: c e -> c e -> c e |
96 | -- | 96 | -- |
97 | -- | cannot implement instance Functor because of Element class constraint | 97 | -- | cannot implement instance Functor because of Element class constraint |
98 | cmap :: (Element a, Element b) => (a -> b) -> c a -> c b | 98 | cmap :: (Element b) => (e -> b) -> c e -> c b |
99 | -- | constant structure of given size | 99 | -- | constant structure of given size |
100 | konst :: e -> IndexOf c -> c e | 100 | konst :: e -> IndexOf c -> c e |
101 | -- | create a structure using a function | 101 | -- | create a structure using a function |