1
0
mirror of https://github.com/IBM/fp-go.git synced 2025-11-23 22:14:53 +02:00

doc: fix case

Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
Dr. Carsten Leue
2023-07-18 15:57:54 +02:00
parent 308fe48718
commit b25de3c7c3
287 changed files with 662 additions and 656 deletions

View File

@@ -1,12 +1,12 @@
package array
import (
G "github.com/ibm/fp-go/array/generic"
F "github.com/ibm/fp-go/function"
"github.com/ibm/fp-go/internal/array"
M "github.com/ibm/fp-go/monoid"
O "github.com/ibm/fp-go/option"
"github.com/ibm/fp-go/tuple"
G "github.com/IBM/fp-go/array/generic"
F "github.com/IBM/fp-go/function"
"github.com/IBM/fp-go/internal/array"
M "github.com/IBM/fp-go/monoid"
O "github.com/IBM/fp-go/option"
"github.com/IBM/fp-go/tuple"
)
// From constructs an array from a set of variadic arguments

View File

@@ -4,11 +4,11 @@ import (
"strings"
"testing"
F "github.com/ibm/fp-go/function"
"github.com/ibm/fp-go/internal/utils"
O "github.com/ibm/fp-go/option"
S "github.com/ibm/fp-go/string"
T "github.com/ibm/fp-go/tuple"
F "github.com/IBM/fp-go/function"
"github.com/IBM/fp-go/internal/utils"
O "github.com/IBM/fp-go/option"
S "github.com/IBM/fp-go/string"
T "github.com/IBM/fp-go/tuple"
"github.com/stretchr/testify/assert"
)

View File

@@ -1,7 +1,7 @@
package array
import (
E "github.com/ibm/fp-go/eq"
E "github.com/IBM/fp-go/eq"
)
func equals[T any](left []T, right []T, eq func(T, T) bool) bool {

View File

@@ -1,10 +1,10 @@
package generic
import (
F "github.com/ibm/fp-go/function"
"github.com/ibm/fp-go/internal/array"
O "github.com/ibm/fp-go/option"
"github.com/ibm/fp-go/tuple"
F "github.com/IBM/fp-go/function"
"github.com/IBM/fp-go/internal/array"
O "github.com/IBM/fp-go/option"
"github.com/IBM/fp-go/tuple"
)
// Of constructs a single element array

View File

@@ -3,7 +3,7 @@ package generic
import (
"sort"
O "github.com/ibm/fp-go/ord"
O "github.com/IBM/fp-go/ord"
)
// Sort implements a stable sort on the array given the provided ordering

View File

@@ -1,8 +1,8 @@
package array
import (
F "github.com/ibm/fp-go/function"
M "github.com/ibm/fp-go/magma"
F "github.com/IBM/fp-go/function"
M "github.com/IBM/fp-go/magma"
)
func ConcatAll[A any](m M.Magma[A]) func(A) func([]A) A {

View File

@@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/assert"
M "github.com/ibm/fp-go/magma"
M "github.com/IBM/fp-go/magma"
)
var subInt = M.MakeMagma(func(first int, second int) int {

View File

@@ -1,8 +1,8 @@
package array
import (
"github.com/ibm/fp-go/internal/array"
M "github.com/ibm/fp-go/monoid"
"github.com/IBM/fp-go/internal/array"
M "github.com/IBM/fp-go/monoid"
)
func concat[T any](left, right []T) []T {

View File

@@ -3,7 +3,7 @@ package array
import (
"testing"
M "github.com/ibm/fp-go/monoid/testing"
M "github.com/IBM/fp-go/monoid/testing"
)
func TestMonoid(t *testing.T) {

View File

@@ -1,8 +1,8 @@
package array
import (
F "github.com/ibm/fp-go/function"
O "github.com/ibm/fp-go/option"
F "github.com/IBM/fp-go/function"
O "github.com/IBM/fp-go/option"
)
// We need to pass the members of the applicative explicitly, because golang does neither support higher kinded types nor template methods on structs or interfaces

View File

@@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/assert"
O "github.com/ibm/fp-go/option"
O "github.com/IBM/fp-go/option"
)
func TestSequenceOption(t *testing.T) {

View File

@@ -1,8 +1,8 @@
package array
import (
G "github.com/ibm/fp-go/array/generic"
O "github.com/ibm/fp-go/ord"
G "github.com/IBM/fp-go/array/generic"
O "github.com/IBM/fp-go/ord"
)
// Sort implements a stable sort on the array given the provided ordering

View File

@@ -3,7 +3,7 @@ package array
import (
"testing"
O "github.com/ibm/fp-go/ord"
O "github.com/IBM/fp-go/ord"
"github.com/stretchr/testify/assert"
)

View File

@@ -1,6 +1,6 @@
package array
import "github.com/ibm/fp-go/internal/array"
import "github.com/IBM/fp-go/internal/array"
func Traverse[A, B, HKTB, HKTAB, HKTRB any](
fof func([]B) HKTRB,

View File

@@ -3,7 +3,7 @@ package array
import (
"testing"
O "github.com/ibm/fp-go/option"
O "github.com/IBM/fp-go/option"
"github.com/stretchr/testify/assert"
)