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

fix: build break

Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
Dr. Carsten Leue
2023-08-11 17:31:31 +02:00
parent bd0c42db01
commit 8944a66c18

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))