1
0
mirror of https://github.com/IBM/fp-go.git synced 2025-11-27 22:28:29 +02:00

fix: add Join

Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
Dr. Carsten Leue
2024-01-17 11:57:26 +01:00
parent a14feff1d6
commit 89c34254a9
2 changed files with 14 additions and 0 deletions

View File

@@ -32,6 +32,9 @@ var (
// Ord implements the default ordering for strings
Ord = ord.FromStrictCompare[string]()
// Join joins strings
Join = F.Curry2(F.Bind2nd[[]string, string, string])(strings.Join)
)
func Eq(left string, right string) bool {