1
0
mirror of https://github.com/IBM/fp-go.git synced 2025-08-10 22:31:32 +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,7 +1,7 @@
package reader
import (
G "github.com/ibm/fp-go/reader/generic"
G "github.com/IBM/fp-go/reader/generic"
)
// TraverseArray transforms an array

View File

@@ -4,8 +4,8 @@ import (
"context"
"testing"
A "github.com/ibm/fp-go/array"
F "github.com/ibm/fp-go/function"
A "github.com/IBM/fp-go/array"
F "github.com/IBM/fp-go/function"
"github.com/stretchr/testify/assert"
)

View File

@@ -1,7 +1,7 @@
package reader
import (
G "github.com/ibm/fp-go/reader/generic"
G "github.com/IBM/fp-go/reader/generic"
)
// these functions curry a golang function with the context as the firsr parameter into a reader with the context as the last parameter, which

View File

@@ -5,7 +5,7 @@ package reader
import (
G "github.com/ibm/fp-go/reader/generic"
G "github.com/IBM/fp-go/reader/generic"
)
// From0 converts a function with 1 parameters returning a [R] into a function with 0 parameters returning a [Reader[C, R]]

View File

@@ -1,8 +1,8 @@
package generic
import (
F "github.com/ibm/fp-go/function"
RA "github.com/ibm/fp-go/internal/array"
F "github.com/IBM/fp-go/function"
RA "github.com/IBM/fp-go/internal/array"
)
// TraverseArray transforms an array

View File

@@ -1,7 +1,7 @@
package generic
import (
F "github.com/ibm/fp-go/function"
F "github.com/IBM/fp-go/function"
)
// these functions curry a golang function with the context as the firsr parameter into a reader with the context as the last parameter, which

View File

@@ -1,9 +1,9 @@
package generic
import (
F "github.com/ibm/fp-go/function"
I "github.com/ibm/fp-go/identity/generic"
T "github.com/ibm/fp-go/tuple"
F "github.com/IBM/fp-go/function"
I "github.com/IBM/fp-go/identity/generic"
T "github.com/IBM/fp-go/tuple"
)
// Reader[R, A] = func(R) A

View File

@@ -1,8 +1,8 @@
package generic
import (
"github.com/ibm/fp-go/internal/apply"
T "github.com/ibm/fp-go/tuple"
"github.com/IBM/fp-go/internal/apply"
T "github.com/IBM/fp-go/tuple"
)
// SequenceT converts n inputs of higher kinded types into a higher kinded types of n strongly typed values, represented as a tuple

View File

@@ -1,8 +1,8 @@
package reader
import (
G "github.com/ibm/fp-go/reader/generic"
T "github.com/ibm/fp-go/tuple"
G "github.com/IBM/fp-go/reader/generic"
T "github.com/IBM/fp-go/tuple"
)
// The purpose of the `Reader` monad is to avoid threading arguments through multiple functions in order to only get them where they are needed.

View File

@@ -3,10 +3,10 @@ package reader
import (
"testing"
F "github.com/ibm/fp-go/function"
F "github.com/IBM/fp-go/function"
"github.com/stretchr/testify/assert"
"github.com/ibm/fp-go/internal/utils"
"github.com/IBM/fp-go/internal/utils"
)
func TestMap(t *testing.T) {

View File

@@ -1,8 +1,8 @@
package reader
import (
M "github.com/ibm/fp-go/monoid"
S "github.com/ibm/fp-go/semigroup"
M "github.com/IBM/fp-go/monoid"
S "github.com/IBM/fp-go/semigroup"
)
func ApplySemigroup[R, A any](

View File

@@ -1,8 +1,8 @@
package reader
import (
G "github.com/ibm/fp-go/reader/generic"
T "github.com/ibm/fp-go/tuple"
G "github.com/IBM/fp-go/reader/generic"
T "github.com/IBM/fp-go/tuple"
)
// SequenceT converts n inputs of higher kinded types into a higher kinded types of n strongly typed values, represented as a tuple