From 5942f2e68a655186b6e0efa9c6ad7ff700c13081 Mon Sep 17 00:00:00 2001 From: juanFdS Date: Sat, 21 Jan 2023 22:01:07 -0300 Subject: [PATCH] Eliminado import que no se usaba --- src/Number.hs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Number.hs b/src/Number.hs index dfb929b..63e2450 100644 --- a/src/Number.hs +++ b/src/Number.hs @@ -14,12 +14,9 @@ import GHC.Real (Ratio(..), Real (toRational)) import GHC.Num (divInteger) import Numeric (showFFloat) import GHC.Stack (HasCallStack) -import Text.Read.Lex (numberToRational) newtype Number = Number { wrappedNum :: WrappedNum } - deriving (P.RealFrac, P.Num, P.Real, P.Fractional, P.Eq, P.Ord - -- , P.Floating - ) via WrappedNum + deriving (P.RealFrac, P.Num, P.Real, P.Fractional, P.Eq, P.Ord) via WrappedNum type WrappedNum = Rational