Skip to content

Fix warnings by removing redundant dependency and imports #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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" ]
}

Loading