summaryrefslogtreecommitdiff
path: root/lib/Numeric/Container.hs
diff options
context:
space:
mode:
authorVivian McPhail <haskell.vivian.mcphail@gmail.com>2010-09-20 03:48:46 +0000
committerVivian McPhail <haskell.vivian.mcphail@gmail.com>2010-09-20 03:48:46 +0000
commit482b533c3fbfcd75d6c5c1d3ce32585bf9fc2ad7 (patch)
tree82f284eeb1cf03fd4514960b848d38e5af94e709 /lib/Numeric/Container.hs
parent503f598801b67886028d9ffdfdef38813954e46f (diff)
remove Fractional from Element
Diffstat (limited to 'lib/Numeric/Container.hs')
-rw-r--r--lib/Numeric/Container.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Numeric/Container.hs b/lib/Numeric/Container.hs
index 8cf3e07..83bf44e 100644
--- a/lib/Numeric/Container.hs
+++ b/lib/Numeric/Container.hs
@@ -62,7 +62,7 @@ type instance IndexOf Matrix = (Int,Int)
62------------------------------------------------------------------- 62-------------------------------------------------------------------
63 63
64-- | Basic element-by-element functions for numeric containers 64-- | Basic element-by-element functions for numeric containers
65class (Complexable c, Element e) => Container c e where 65class (Complexable c, Fractional e, Element e) => Container c e where
66 -- | create a structure with a single element 66 -- | create a structure with a single element
67 scalar :: e -> c e 67 scalar :: e -> c e
68 -- | complex conjugate 68 -- | complex conjugate