[Haskell-beginners] Trying to find an alternative StateMonad