Skip to content

Commit 21af1a2

Browse files
authored
Merge pull request #27 from purescript/ps-0.11
Update for PureScript 0.11
2 parents 5746ab0 + 1bea21e commit 21af1a2

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
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:

bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"package.json"
1818
],
1919
"dependencies": {
20-
"purescript-foldable-traversable": "^2.0.0",
21-
"purescript-prelude": "^2.4.0"
20+
"purescript-foldable-traversable": "^3.0.0",
21+
"purescript-prelude": "^3.0.0"
2222
}
2323
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
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"
66
},
77
"devDependencies": {
8-
"pulp": "^9.0.1",
9-
"purescript-psa": "^0.3.9",
10-
"rimraf": "^2.5.0"
8+
"pulp": "^10.0.4",
9+
"purescript-psa": "^0.5.0-rc.1",
10+
"rimraf": "^2.6.1"
1111
}
1212
}

src/Data/Tuple.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,5 +172,5 @@ swap :: forall a b. Tuple a b -> Tuple b a
172172
swap (Tuple a b) = Tuple b a
173173

174174
-- | Lookup a value in a data structure of `Tuple`s, generalizing association lists.
175-
lookup :: forall a b f. (Foldable f, Eq a) => a -> f (Tuple a b) -> Maybe b
175+
lookup :: forall a b f. Foldable f => Eq a => a -> f (Tuple a b) -> Maybe b
176176
lookup a = unwrap <<< foldMap \(Tuple a' b) -> First (if a == a' then Just b else Nothing)

0 commit comments

Comments
 (0)