Copyright | (c) 2024-2025 Sayo contributors |
---|---|
License | MPL-2.0 (see the file LICENSE) |
Maintainer | [email protected] |
Safe Haskell | None |
Language | GHC2021 |
Data.Effect.Fresh
Description
Documentation
data Fresh i (a :: Type -> Type) b where Source #
Instances
FirstOrder (Fresh i) Source # | |
Defined in Data.Effect.Fresh | |
PolyHFunctor (Fresh i) Source # | |
Defined in Data.Effect.Fresh | |
HFunctor (Fresh i) Source # | |
Defined in Data.Effect.Fresh | |
type FormOf (Fresh i) Source # | |
Defined in Data.Effect.Fresh | |
type LabelOf (Fresh i) Source # | |
Defined in Data.Effect.Fresh | |
type OrderOf (Fresh i) Source # | |
Defined in Data.Effect.Fresh |
data FreshLabel Source #
fresh :: forall i f (es :: [Effect]) (ff :: (Type -> Type) -> Type -> Type) (c :: (Type -> Type) -> Constraint). (Free c ff, f ~ Eff ff es, Fresh i :> es) => f i Source #
fresh' :: forall {k} (key :: k) i f (es :: [Effect]) (ff :: (Type -> Type) -> Type -> Type) (c :: (Type -> Type) -> Constraint). (Free c ff, f ~ Eff ff es, Has key (Fresh i) es) => f i Source #