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: 4
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,
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 A) bool
AssertLaws asserts the apply monad laws for the `Either` monad
Source Files
¶
Click to show internal directories.
Click to hide internal directories.