diff --git a/src/Control/Monad/Effect/Fresh.hs b/src/Control/Monad/Effect/Fresh.hs index c06a2f11d..051a57177 100644 --- a/src/Control/Monad/Effect/Fresh.hs +++ b/src/Control/Monad/Effect/Fresh.hs @@ -6,6 +6,7 @@ import Control.Monad.Effect.Internal type TName = Int +-- | An effect offering a (resettable) sequence of always-incrementing, and therefore “fresh,” type variables. data Fresh a where Reset :: TName -> Fresh () Fresh :: Fresh TName