File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Expand file tree Collapse file tree 4 files changed +11
-11
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.2 .0" ,
21
- "purescript-prelude" : " ^2.4 .0"
20
+ "purescript-foldable-traversable" : " ^3.0 .0" ,
21
+ "purescript-prelude" : " ^3.0 .0"
22
22
},
23
23
"devDependencies" : {
24
- "purescript-assert" : " ^2 .0.0" ,
25
- "purescript-console" : " ^2 .0.0"
24
+ "purescript-assert" : " ^3 .0.0" ,
25
+ "purescript-console" : " ^3 .0.0"
26
26
}
27
27
}
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
"test" : " pulp test"
7
7
},
8
8
"devDependencies" : {
9
- "pulp" : " ^9 .0.1 " ,
10
- "purescript-psa" : " ^0.3.9 " ,
11
- "rimraf" : " ^2.5.0 "
9
+ "pulp" : " ^10 .0.4 " ,
10
+ "purescript-psa" : " ^0.5.0-rc.1 " ,
11
+ "rimraf" : " ^2.6.1 "
12
12
}
13
13
}
Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ foldl1 :: forall f a. Foldable f => (a -> a -> a) -> NonEmpty f a -> a
46
46
foldl1 f (a :| fa) = foldl f a fa
47
47
48
48
-- | Fold a non-empty structure, collecting results in a `Semigroup`.
49
- foldMap1 :: forall f a s . ( Semigroup s , Foldable f ) => (a -> s ) -> NonEmpty f a -> s
49
+ foldMap1 :: forall f a s . Semigroup s => Foldable f => (a -> s ) -> NonEmpty f a -> s
50
50
foldMap1 f (a :| fa) = foldl (\s a1 -> s <> f a1) (f a) fa
51
51
52
52
-- | Fold a non-empty structure.
53
- fold1 :: forall f s . ( Semigroup s , Foldable f ) => NonEmpty f s -> s
53
+ fold1 :: forall f s . Semigroup s => Foldable f => NonEmpty f s -> s
54
54
fold1 = foldMap1 id
55
55
56
56
fromNonEmpty :: forall f a r . (a -> f a -> r ) -> NonEmpty f a -> r
You can’t perform that action at this time.
0 commit comments