From 9e2efefe1163a1781913100c76bb8b872d49b384 Mon Sep 17 00:00:00 2001 From: JordanMartinez Date: Mon, 28 Mar 2022 15:42:45 -0500 Subject: [PATCH] Drop math dep; update imports (#133) * Drop math dep; update imports * Add changelog entry --- CHANGELOG.md | 1 + bower.json | 2 +- src/Test/QuickCheck/Gen.purs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ec8057..91d3f21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ Bugfixes: - `quickCheckPure` and `quickCheckPure'` stack safety (#127) Other improvements: +- Drop `math` dependency; update imports (#133 by @JordanMartinez) ## [v7.1.0](https://github.com/purescript/purescript-quickcheck/releases/tag/v7.1.0) - 2021-04-27 diff --git a/bower.json b/bower.json index 06f114e..28024df 100644 --- a/bower.json +++ b/bower.json @@ -34,10 +34,10 @@ "purescript-lazy": "master", "purescript-lcg": "master", "purescript-lists": "master", - "purescript-math": "master", "purescript-maybe": "master", "purescript-newtype": "master", "purescript-nonempty": "master", + "purescript-numbers": "master", "purescript-partial": "master", "purescript-prelude": "master", "purescript-record": "master", diff --git a/src/Test/QuickCheck/Gen.purs b/src/Test/QuickCheck/Gen.purs index 54094cb..6c73d19 100644 --- a/src/Test/QuickCheck/Gen.purs +++ b/src/Test/QuickCheck/Gen.purs @@ -50,9 +50,9 @@ import Data.List (List(..), toUnfoldable) import Data.Maybe (Maybe(..), fromJust) import Data.Monoid.Additive (Additive(..)) import Data.Newtype (unwrap) +import Data.Number ((%)) import Data.Tuple (Tuple(..), fst, snd) import Effect (Effect) -import Math ((%)) import Partial.Unsafe (unsafePartial) import Random.LCG (Seed, lcgPerturb, lcgM, lcgNext, unSeed, randomSeed)