diff options
Diffstat (limited to 'packages/base')
-rw-r--r-- | packages/base/src/Internal/Numeric.hs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/packages/base/src/Internal/Numeric.hs b/packages/base/src/Internal/Numeric.hs index 216f142..fd0a217 100644 --- a/packages/base/src/Internal/Numeric.hs +++ b/packages/base/src/Internal/Numeric.hs | |||
@@ -790,13 +790,7 @@ type instance RealOf (Complex Float) = Float | |||
790 | type instance RealOf I = I | 790 | type instance RealOf I = I |
791 | type instance RealOf Z = Z | 791 | type instance RealOf Z = Z |
792 | 792 | ||
793 | type family ComplexOf x | 793 | type ComplexOf x = Complex (RealOf x) |
794 | |||
795 | type instance ComplexOf Double = Complex Double | ||
796 | type instance ComplexOf (Complex Double) = Complex Double | ||
797 | |||
798 | type instance ComplexOf Float = Complex Float | ||
799 | type instance ComplexOf (Complex Float) = Complex Float | ||
800 | 794 | ||
801 | type family SingleOf x | 795 | type family SingleOf x |
802 | 796 | ||