package
Version:
v0.0.10
Opens a new window with list of versions in this module.
Published: Apr 22, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Conform[
A any,
FA F[A],
CA Class[A, A, FA, FA],
](c CA) func(t *testing.T, x FA)
Conform returns a function testing if the implementation abides by its laws.
type Class[
A any,
B any,
FA F[A],
FB F[B],
] interface {
FMap(func(A) B, FA) FB
FReplace(A, FB) FA
}
type F[T any] interface{}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.