diff options
Diffstat (limited to 'packages/base/src')
-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 c9ef0c5..d478984 100644 --- a/packages/base/src/Internal/Numeric.hs +++ b/packages/base/src/Internal/Numeric.hs | |||
@@ -788,13 +788,7 @@ type instance RealOf (Complex Float) = Float | |||
788 | type instance RealOf I = I | 788 | type instance RealOf I = I |
789 | type instance RealOf Z = Z | 789 | type instance RealOf Z = Z |
790 | 790 | ||
791 | type family ComplexOf x | 791 | type ComplexOf x = Complex (RealOf x) |
792 | |||
793 | type instance ComplexOf Double = Complex Double | ||
794 | type instance ComplexOf (Complex Double) = Complex Double | ||
795 | |||
796 | type instance ComplexOf Float = Complex Float | ||
797 | type instance ComplexOf (Complex Float) = Complex Float | ||
798 | 792 | ||
799 | type family SingleOf x | 793 | type family SingleOf x |
800 | 794 | ||