1
0
mirror of https://github.com/IBM/fp-go.git synced 2025-08-10 22:31:32 +02:00

Merge pull request #25 from IBM/cleue-fix-build-break-1

fix: build break
This commit is contained in:
Carsten Leue
2023-08-11 17:32:07 +02:00
committed by GitHub

View File

@@ -109,7 +109,7 @@ func ExampleFoldMap() {
"c": "c",
}
fold := FoldMap[string, string](S.Monoid)(strings.ToUpper)
fold := FoldMapOrd[string, string](S.Ord)(S.Monoid)(strings.ToUpper)
fmt.Println(fold(src))