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

fix: rework http support

Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
Dr. Carsten Leue
2023-07-16 22:46:18 +02:00
parent bf04dad87c
commit 48f38f2e43
20 changed files with 905 additions and 31 deletions

11
record/monoid.go Normal file
View File

@@ -0,0 +1,11 @@
package record
import (
M "github.com/ibm/fp-go/monoid"
G "github.com/ibm/fp-go/record/generic"
S "github.com/ibm/fp-go/semigroup"
)
func UnionMonoid[K comparable, V any](s S.Semigroup[V]) M.Monoid[map[K]V] {
return G.UnionMonoid[map[K]V](s)
}