package
Version:
v1.0.151
Opens a new window with list of versions in this module.
Published: Nov 23, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func AssertLaws[E, A, B, C any](t *testing.T,
m M.Monoid[E],
eqe EQ.Eq[E],
eqa EQ.Eq[A],
eqb EQ.Eq[B],
eqc EQ.Eq[C],
ab func(A) B,
bc func(B) C,
) func(A) bool
AssertLaws asserts the apply monad laws for the [P.Pair] monad
Source Files
¶
Click to show internal directories.
Click to hide internal directories.