Skip to content

Commit 7daff6f

Browse files
committed
Updates for 0.9.1
1 parent 7de7e70 commit 7daff6f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Data/Foldable.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
"use strict";
22

3-
// module Data.Foldable
4-
53
exports.foldrArray = function (f) {
64
return function (init) {
75
return function (xs) {

src/Data/Foldable.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ oneOf = foldr alt empty
228228
intercalate :: forall f m. (Foldable f, Monoid m) => m -> f m -> m
229229
intercalate sep xs = (foldl go { init: true, acc: mempty } xs).acc
230230
where
231-
go { init = true } x = { init: false, acc: x }
232-
go { acc = acc } x = { init: false, acc: acc <> sep <> x }
231+
go { init: true } x = { init: false, acc: x }
232+
go { acc: acc } x = { init: false, acc: acc <> sep <> x }
233233

234234
-- | The conjunction of all the values in a data structure. When specialized
235235
-- | to `Boolean`, this function will test whether all of the values in a data

0 commit comments

Comments
 (0)