File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
dist : trusty
3
3
sudo : required
4
- node_js : 6
4
+ node_js : stable
5
5
env :
6
6
- PATH=$HOME/purescript:$PATH
7
7
install :
Original file line number Diff line number Diff line change 17
17
" package.json"
18
18
],
19
19
"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"
22
22
}
23
23
}
Original file line number Diff line number Diff line change 2
2
"private" : true ,
3
3
"scripts" : {
4
4
"clean" : " rimraf output && rimraf .pulp-cache" ,
5
- "build" : " pulp build --censor-lib --strict"
5
+ "build" : " pulp build -- -- censor-lib --strict"
6
6
},
7
7
"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 "
11
11
}
12
12
}
Original file line number Diff line number Diff line change @@ -172,5 +172,5 @@ swap :: forall a b. Tuple a b -> Tuple b a
172
172
swap (Tuple a b) = Tuple b a
173
173
174
174
-- | 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
176
176
lookup a = unwrap <<< foldMap \(Tuple a' b) -> First (if a == a' then Just b else Nothing )
You can’t perform that action at this time.
0 commit comments