Skip to content

Update to v0.14.0-rc3 #106

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 3 commits into from
Nov 15, 2020
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
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ node_js: stable
env:
- PATH=$HOME/purescript:$PATH
install:
- TAG=$(basename $(curl --location --silent --output /dev/null -w %{url_effective} https://github.com/purescript/purescript/releases/latest))
# - TAG=$(basename $(curl --location --silent --output /dev/null -w %{url_effective} https://github.com/purescript/purescript/releases/latest))
- TAG=v0.14.0-rc3
- curl --location --output $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
- chmod a+x $HOME/purescript
Expand All @@ -15,7 +16,7 @@ script:
- bower install --production
- npm run -s build
- bower install
- npm run -s build:benchmark
# - npm run -s build:benchmark
- npm -s test
after_success:
- >-
Expand Down
33 changes: 16 additions & 17 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,23 @@
"package.json"
],
"dependencies": {
"purescript-catenable-lists": "^5.0.0",
"purescript-control": "^4.0.0",
"purescript-distributive": "^4.0.0",
"purescript-either": "^4.0.0",
"purescript-exists": "^4.0.0",
"purescript-foldable-traversable": "^4.0.0",
"purescript-invariant": "^4.0.0",
"purescript-lazy": "^4.0.0",
"purescript-maybe": "^4.0.0",
"purescript-prelude": "^4.0.0",
"purescript-tailrec": "^4.0.0",
"purescript-transformers": "^4.0.0",
"purescript-tuples": "^5.0.0",
"purescript-unsafe-coerce": "^4.0.0"
"purescript-catenable-lists": "master",
"purescript-control": "master",
"purescript-distributive": "master",
"purescript-either": "master",
"purescript-exists": "master",
"purescript-foldable-traversable": "master",
"purescript-invariant": "master",
"purescript-lazy": "master",
"purescript-maybe": "master",
"purescript-prelude": "master",
"purescript-tailrec": "master",
"purescript-transformers": "master",
"purescript-tuples": "master",
"purescript-unsafe-coerce": "master"
},
"devDependencies": {
"purescript-console": "^4.0.0",
"purescript-functors": "^3.0.0",
"purescript-benchotron": "^7.0.1"
"purescript-console": "master",
"purescript-functors": "master"
}
}
4 changes: 3 additions & 1 deletion src/Data/Coyoneda.purs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import Data.Exists (Exists, runExists, mkExists)
import Data.Foldable (class Foldable, foldMap, foldl, foldr)
import Data.Functor.Invariant (class Invariant, imapF)
import Data.Ord (class Ord1, compare1)
import Data.Semigroup.Foldable (class Foldable1, foldMap1)
import Data.Semigroup.Foldable (class Foldable1, foldMap1, foldr1Default, foldl1Default)
import Data.Semigroup.Traversable (class Traversable1, sequence1, traverse1)
import Data.Traversable (class Traversable, traverse)

Expand Down Expand Up @@ -126,6 +126,8 @@ instance traversableCoyoneda :: Traversable f => Traversable (Coyoneda f) where
instance foldable1Coyoneda :: Foldable1 f => Foldable1 (Coyoneda f) where
foldMap1 f = unCoyoneda \k -> foldMap1 (f <<< k)
fold1 = unCoyoneda \k -> foldMap1 k
foldr1 = foldr1Default
foldl1 = foldl1Default

instance traversable1Coyoneda :: Traversable1 f => Traversable1 (Coyoneda f) where
traverse1 f = unCoyoneda \k -> map liftCoyoneda <<< traverse1 (f <<< k)
Expand Down