We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6513f3f commit 7585700Copy full SHA for 7585700
examples/fold-map.js renamed to examples/10-fold-map.js
@@ -5,6 +5,7 @@ const { Sum } = require('../examples/monoid')
5
const res = List.of(Sum(1), Sum(33), Sum(4))
6
7
// raw value from the list via concat
8
+ // provide value to start from
9
.fold(Sum.empty())
10
11
console.log(res)
0 commit comments