projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-02-02 13:26:13 by simonpj]
[ghc-base.git]
/
Data
/
Complex.hs
diff --git
a/Data/Complex.hs
b/Data/Complex.hs
index
20448c7
..
6b9999b
100644
(file)
--- a/
Data/Complex.hs
+++ b/
Data/Complex.hs
@@
-120,10
+120,8
@@
phase (x:+y) = atan2 y x
-- -----------------------------------------------------------------------------
-- Instances of Complex
-- -----------------------------------------------------------------------------
-- Instances of Complex
-#ifndef __NHC__
#include "Typeable.h"
INSTANCE_TYPEABLE1(Complex,complexTc,"Complex")
#include "Typeable.h"
INSTANCE_TYPEABLE1(Complex,complexTc,"Complex")
-#endif
instance (RealFloat a) => Num (Complex a) where
{-# SPECIALISE instance Num (Complex Float) #-}
instance (RealFloat a) => Num (Complex a) where
{-# SPECIALISE instance Num (Complex Float) #-}