1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
|
interface Data.Complex where {
infix 6 :+;
{-# NEED #-}
instance Prelude.Functor NHC.Internal.IO;
{-# NEED #-}
instance Prelude.Monad NHC.Internal.IO;
{-# NEED #-}
instance (Prelude.RealFloat a) => Prelude.Floating (Complex a);
{-# NEED #-}
instance (Prelude.RealFloat a) => Prelude.Fractional (Complex a);
{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Fractional (Ratio.Ratio a);
{-# NEED #-}
instance (Prelude.Integral a) => Prelude.RealFrac (Ratio.Ratio a);
{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Real (Ratio.Ratio a);
{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Enum (Ratio.Ratio a);
{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Ord (Ratio.Ratio a);
{-# NEED #-}
instance (Prelude.RealFloat a) => Prelude.Eq (Complex a);
{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Eq (Ratio.Ratio a);
{-# NEED #-}
instance (Prelude.RealFloat a) => Prelude.Show (Complex a);
{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Show (Ratio.Ratio a);
{-# NEED #-}
instance (Prelude.Show a) => Prelude.Show (NHC.Internal.IO a);
{-# NEED #-}
instance (Prelude.RealFloat a) => Prelude.Num (Complex a);
{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Num (Ratio.Ratio a);
{-# NEED #-}
instance (Prelude.Read a,Prelude.RealFloat a) => Prelude.Read (Complex a);
{-# NEED #-}
instance (Prelude.Read a,Prelude.Integral a) => Prelude.Read (Ratio.Ratio a);
interface NHC.Internal
{-# NEED IO #-}
newtype {-# #-} IO a;
{-# NEED World #-}
data World;
interface Ratio
{-# NEED Ratio #-}
data Ratio a;
interface ! Data.Complex
{-# NEED phase #-}
phase{-# 1 #-}::(Prelude.RealFloat a) => ((Complex a) -> a);
{-# NEED magnitude #-}
magnitude{-# 1 #-}::(Prelude.RealFloat a) => ((Complex a) -> a);
{-# NEED polar #-}
polar{-# 1 #-}::(Prelude.RealFloat a) => ((Complex a) -> (a,a));
{-# NEED cis #-}
cis{-# 1 #-}::(Prelude.RealFloat a) => (a -> (Complex a));
{-# NEED mkPolar #-}
mkPolar{-# 2 #-}::(Prelude.RealFloat a) => (a -> (a -> (Complex a)));
{-# NEED conjugate #-}
conjugate{-# 1 #-}::(Prelude.RealFloat a) => ((Complex a) -> (Complex a));
{-# NEED imagPart #-}
imagPart{-# 1 #-}::(Prelude.RealFloat a) => ((Complex a) -> a);
{-# NEED realPart #-}
realPart{-# 1 #-}::(Prelude.RealFloat a) => ((Complex a) -> a);
{-# NEED {Complex (:+)} #-}
data (Prelude.RealFloat a) => Complex a
= (:+) !a !a;
}
|