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:
@@ -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