Skip to content

Commit 7585700

Browse files
committed
Lesson 10 - rename
1 parent 6513f3f commit 7585700

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/fold-map.js renamed to examples/10-fold-map.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const { Sum } = require('../examples/monoid')
55
const res = List.of(Sum(1), Sum(33), Sum(4))
66

77
// raw value from the list via concat
8+
// provide value to start from
89
.fold(Sum.empty())
910

1011
console.log(res)

0 commit comments

Comments
 (0)