mirror of
https://github.com/IBM/fp-go.git
synced 2025-08-10 22:31:32 +02:00
fix: add more examples
Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
@@ -31,7 +31,7 @@ func doubleAndLog(data int) Writer[[]string, int] {
|
||||
}
|
||||
}
|
||||
|
||||
func Example() {
|
||||
func ExampleWriter_logging() {
|
||||
|
||||
m := A.Monoid[string]()
|
||||
s := M.ToSemigroup(m)
|
||||
|
Reference in New Issue
Block a user