HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Moduleextensible-effects-5.0.0.1Haskell2010

Control.Eff.Fresh

Create unique Enumerable values.

Synopsis
datadata Fresh v where

Create unique Enumerable values.

Constructors

Instances3Handle, MonadBaseControl, StM
valuewithFresh :: Monad m => a -> Int -> m (a, Int)

Embed a pure value. Note that this is a specialized form of State's and we could have reused it.