HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

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.