mirror of
https://github.com/IBM/fp-go.git
synced 2025-11-27 22:28:29 +02:00
initial checkin
Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
8
string/monoid.go
Normal file
8
string/monoid.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package string
|
||||
|
||||
import (
|
||||
M "github.com/ibm/fp-go/monoid"
|
||||
)
|
||||
|
||||
// Monoid is the monoid implementing string concatenation
|
||||
var Monoid = M.MakeMonoid(concat, "")
|
||||
Reference in New Issue
Block a user