Skip to content

Commit

Permalink
Fix warnings by removing redundant dependency and imports (#45)
Browse files Browse the repository at this point in the history
Remove redundant

- integers dependency
- qualified Data.Int and Data.Ratio imports

Add an entry to the CHANGELOG.
  • Loading branch information
albsod authored Jun 27, 2024
1 parent 53f955b commit aa13f21
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ New features:

Bugfixes:

- Qualified Data.Int and Data.Ratio imports generate warnings (#44).

Other improvements:

## v6.0.0
Expand Down
2 changes: 1 addition & 1 deletion spago.dhall
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ name = "rationals"
, dependencies = [ "integers", "js-bigints", "prelude" ]
, dependencies = [ "js-bigints", "prelude" ]
, license = "MIT"
, repository = "https://github.com/purescript-contrib/purescript-rationals.git"
, packages = ./packages.dhall
Expand Down
2 changes: 0 additions & 2 deletions src/Data/Rational.purs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ module Data.Rational

import Prelude

import Data.Int as Int
import Data.Ratio (Ratio, denominator, numerator, (%))
import Data.Ratio as Ratio
import JS.BigInt (BigInt)
import JS.BigInt as BigInt
Expand Down
2 changes: 1 addition & 1 deletion test.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ let conf = ./spago.dhall

in conf // {
sources = conf.sources # [ "test/**/*.purs" ],
dependencies = conf.dependencies # [ "console", "effect", "integers", "quickcheck", "quickcheck-laws" ]
dependencies = conf.dependencies # [ "console", "effect", "quickcheck", "quickcheck-laws" ]
}

0 comments on commit aa13f21

Please sign in to comment.