Skip to content

Commit 46ed9d8

Browse files
authored
Merge pull request #7 from purescript/ps-0.11
Update for PureScript 0.11
2 parents 0c23712 + 148203a commit 46ed9d8

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: node_js
22
dist: trusty
33
sudo: required
4-
node_js: 6
4+
node_js: stable
55
env:
66
- PATH=$HOME/purescript:$PATH
77
install:
@@ -11,9 +11,11 @@ install:
1111
- chmod a+x $HOME/purescript
1212
- npm install -g bower
1313
- npm install
14-
- bower install
14+
- bower install --production
1515
script:
1616
- npm run -s build
17+
- bower install
18+
- npm run -s test
1719
after_success:
1820
- >-
1921
test $TRAVIS_TAG &&

bower.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
"package.json"
2020
],
2121
"dependencies": {
22-
"purescript-sets": "^2.0.0",
23-
"purescript-catenable-lists": "^3.0.0"
22+
"purescript-sets": "^3.0.0",
23+
"purescript-catenable-lists": "^4.0.0"
2424
},
2525
"devDependencies": {
26-
"purescript-console": "^2.0.0"
26+
"purescript-console": "^3.0.0"
2727
}
2828
}

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
"private": true,
33
"scripts": {
44
"clean": "rimraf output && rimraf .pulp-cache",
5-
"build": "pulp build --censor-lib --strict"
5+
"build": "pulp build -- --censor-lib --strict",
6+
"test": "pulp test"
67
},
78
"devDependencies": {
8-
"pulp": "^9.0.1",
9-
"purescript-psa": "^0.3.9",
10-
"rimraf": "^2.5.0"
9+
"pulp": "^10.0.4",
10+
"purescript-psa": "^0.5.0-rc.1",
11+
"rimraf": "^2.6.1"
1112
}
1213
}

src/Data/Graph.purs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ instance functorGraph :: Functor (Graph k) where
3535
-- | and specify out-edges.
3636
unfoldGraph
3737
:: forall f k v out
38-
. (Ord k, Functor f, Foldable f, Foldable out)
38+
. Ord k
39+
=> Functor f
40+
=> Foldable f
41+
=> Foldable out
3942
=> f k
4043
-> (k -> v)
4144
-> (k -> out k)

0 commit comments

Comments
 (0)