Skip to content

Commit

Permalink
Eliminado import que no se usaba
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanFdS committed Jan 22, 2023
1 parent 7a5a01d commit 5942f2e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Number.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5942f2e

Please sign in to comment.