diff options
Diffstat (limited to '')
-rw-r--r-- | polymatrix/statemonad.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polymatrix/statemonad.py b/polymatrix/statemonad.py index dc680de..bfd63de 100644 --- a/polymatrix/statemonad.py +++ b/polymatrix/statemonad.py @@ -17,7 +17,7 @@ U = TypeVar("U") V = TypeVar("V") -@dataclass +@dataclass(frozen=True) class StateMonad(Generic[State, U]): apply_func: Callable[[State], tuple[State, U]] |