package
Version:
v2.0.4
Opens a new window with list of versions in this module.
Published: Dec 22, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func AssertLaws[S, A, B, C any](t *testing.T,
eqs EQ.Eq[S],
eqa EQ.Eq[A],
eqb EQ.Eq[B],
eqc EQ.Eq[C],
ab func(A) B,
bc func(B) C,
s S,
ctx context.Context,
) func(a A) bool
AssertLaws asserts the monad laws for the StateReaderIOResult monad
Source Files
¶
Click to show internal directories.
Click to hide internal directories.