Hoogle Search

Within LTS Haskell 24.9 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. transactState :: forall s (es :: [Effect]) a . (State s :> es, FOEs es) => Eff es a -> Eff es a

    heftia-effects Control.Monad.Hefty.State

    Within the given scope, make the state roll back to the beginning of the scope in case of exceptions, etc.

  2. type MemoState c k v = MemoStateT c k v Identity

    monad-memo Control.Monad.Memo

    Memoization monad based on StateCache to be used with pure cache containers which support MapLike interface

  3. type MemoStateT s k v = StateCache Container s

    monad-memo Control.Monad.Memo

    Memoization monad transformer based on StateCache to be used with pure cache containers which support MapLike interface

  4. evalMemoState :: MemoState c k v a -> c -> a

    monad-memo Control.Monad.Memo

    Returns the result of MonadMemo computation discarding the cache

  5. evalMemoStateT :: Monad m => MemoStateT c k v m a -> c -> m a

    monad-memo Control.Monad.Memo

    Returns the result of MonadMemo computation wrapped in monad. This function discards the cache

  6. runMemoState :: MemoState c k v a -> c -> (a, c)

    monad-memo Control.Monad.Memo

    Returns the pair of the result of MonadMemo computation along with the final state of the internal pure container

  7. runMemoStateT :: Monad m => MemoStateT s k v m a -> s -> m (a, s)

    monad-memo Control.Monad.Memo

    Returns the pair of the result of MonadMemo computation along with the final state of the internal pure container wrapped in monad

  8. type MemoState c k v = MemoStateT c k v Identity

    monad-memo Control.Monad.Trans.Memo.State

    Memoization monad based on StateCache to be used with pure cache containers which support MapLike interface

  9. type MemoStateT s k v = StateCache Container s

    monad-memo Control.Monad.Trans.Memo.State

    Memoization monad transformer based on StateCache to be used with pure cache containers which support MapLike interface

  10. evalMemoState :: MemoState c k v a -> c -> a

    monad-memo Control.Monad.Trans.Memo.State

    Returns the result of MonadMemo computation discarding the cache

Page 39 of many | Previous | Next