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:
@@ -109,7 +109,7 @@ func ExampleFoldMap() {
|
|||||||
"c": "c",
|
"c": "c",
|
||||||
}
|
}
|
||||||
|
|
||||||
fold := FoldMap[string, string](S.Monoid)(strings.ToUpper)
|
fold := FoldMapOrd[string, string](S.Ord)(S.Monoid)(strings.ToUpper)
|
||||||
|
|
||||||
fmt.Println(fold(src))
|
fmt.Println(fold(src))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user