diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 43d2897..b6ebf3a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,8 @@ jobs: - uses: actions/checkout@v2 - uses: purescript-contrib/setup-purescript@main + with: + purescript: "unstable" - uses: actions/setup-node@v1 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 426a1c6..639da86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ Notable changes to this project are documented in this file. The format is based ## [Unreleased] Breaking changes: +- Update project and deps to PureScript v0.15.0 (#35 by @JordanMartinez) New features: diff --git a/bower.json b/bower.json index 58a9c3f..630359a 100644 --- a/bower.json +++ b/bower.json @@ -16,23 +16,23 @@ "package.json" ], "dependencies": { - "purescript-either": "^5.0.0", - "purescript-foldable-traversable": "^5.0.0", - "purescript-identity": "^5.0.0", - "purescript-maybe": "^5.0.0", - "purescript-newtype": "^4.0.0", - "purescript-nonempty": "^6.0.0", - "purescript-prelude": "^5.0.0", - "purescript-tailrec": "^5.0.0", - "purescript-tuples": "^6.0.0", - "purescript-unfoldable": "^5.0.0" + "purescript-either": "master", + "purescript-foldable-traversable": "master", + "purescript-identity": "master", + "purescript-maybe": "master", + "purescript-newtype": "master", + "purescript-nonempty": "master", + "purescript-prelude": "master", + "purescript-tailrec": "master", + "purescript-tuples": "master", + "purescript-unfoldable": "master" }, "devDependencies": { - "purescript-arrays": "^6.0.0", - "purescript-assert": "^5.0.0", - "purescript-console": "^5.0.0", - "purescript-lcg": "^3.0.0", - "purescript-math": "^3.0.0", - "purescript-transformers": "^5.0.0" + "purescript-arrays": "master", + "purescript-assert": "master", + "purescript-console": "master", + "purescript-lcg": "master", + "purescript-math": "master", + "purescript-transformers": "master" } } diff --git a/package.json b/package.json index 37a61f1..30a6ad0 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ }, "devDependencies": { "eslint": "^7.15.0", - "pulp": "^15.0.0", - "purescript-psa": "^0.8.0", + "pulp": "16.0.0-0", + "purescript-psa": "^0.8.2", "rimraf": "^3.0.2" } } diff --git a/test/Frequency.purs b/test/Frequency.purs index b563b2b..052ae52 100644 --- a/test/Frequency.purs +++ b/test/Frequency.purs @@ -4,7 +4,7 @@ import Prelude import Control.Monad.Gen (class MonadGen, frequency) import Control.Monad.State (State, class MonadState, get, put, evalStateT) -import Data.Array (replicate, group', length) +import Data.Array (replicate, groupAll, length) import Data.Array.NonEmpty (toNonEmpty) import Data.Newtype (unwrap) import Data.NonEmpty ((:|), NonEmpty(..)) @@ -52,7 +52,7 @@ check = ] abcArrGen = sequence $ replicate 200 abcGen abcArr = runTestGenFrequency abcArrGen `evalStateT` 0.0 # unwrap - actual = group' abcArr <#> \nea -> case toNonEmpty nea of + actual = groupAll abcArr <#> \nea -> case toNonEmpty nea of NonEmpty x xs -> Tuple (length xs + 1) x expected = [ (Tuple 10 "A")