Skip to content
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 .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
- uses: actions/checkout@v2

- uses: purescript-contrib/setup-purescript@main
with:
purescript: "unstable"

- uses: actions/setup-node@v1
with:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
32 changes: 16 additions & 16 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
4 changes: 2 additions & 2 deletions test/Frequency.purs
Original file line number Diff line number Diff line change
Expand Up @@ -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(..))
Expand Down Expand Up @@ -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")
Expand Down