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

fix: provide AltMonoid

Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
Dr. Carsten Leue
2023-10-06 21:50:22 +02:00
parent f5aa2d6c15
commit 5f25317f97
9 changed files with 144 additions and 10 deletions

View File

@@ -15,8 +15,8 @@
package semigroup
func AltSemigroup[HKTA any](
falt func(HKTA, func() HKTA) HKTA,
func AltSemigroup[HKTA any, LAZYHKTA ~func() HKTA](
falt func(HKTA, LAZYHKTA) HKTA,
) Semigroup[HKTA] {