From 04831f58cc6ea465810fc25aa57ce687269f3ca7 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Thu, 9 May 2024 12:44:56 +0200 Subject: Fix bug in __str__ of StateMonad --- polymatrix/statemonad/impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymatrix/statemonad/impl.py b/polymatrix/statemonad/impl.py index 1b78daa..817ce47 100644 --- a/polymatrix/statemonad/impl.py +++ b/polymatrix/statemonad/impl.py @@ -11,7 +11,7 @@ class StateMonadImpl(StateMonad): def __str__(self): if not self.arguments: - return super().__str__(self) + return f"{str(self.apply_func.__name__)}(...)" args = str(self.arguments) if isinstance(self.arguments, Iterable): -- cgit v1.2.1