packages feed

papa-0.7.0: src/Papa/Base/Control/Monad/State.hs

{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -Wall #-}

-- | State: the class, and the strict state monad transformer.
--
-- The transformer is "Control.Monad.State.Strict"'s, whose bind does not
-- build a chain of thunks.
module Papa.Base.Control.Monad.State (
  module P,
) where

import Control.Monad.State.Strict as P (
  MonadState (get, put, state),
  State,
  StateT (StateT, runStateT),
  evalState,
  evalStateT,
  execState,
  execStateT,
  gets,
  modify,
  modify',
  runState,
 )