From feeb6a59177a9672eed6ed500de8c2d7341e7ac0 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sun, 12 May 2024 17:06:10 +0200 Subject: Forgot to make StateMonad a frozen dataclass in commit 75e0780acdd537e43e1ec8c7228e68ead13515cf --- polymatrix/statemonad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]] -- cgit v1.2.1