heftia-effects-0.4.0.0: higher-order effects done right
Copyright(c) 2023 Sayo Koyoneda
(c) 2017 FP Complete
(c) 2022 Fumiaki Kinoshita
LicenseMPL-2.0 (see the LICENSE file)
Maintainerymdfield@outlook.jp
Portabilityportable
Safe HaskellNone
LanguageGHC2021

Control.Monad.Hefty.Resource

Description

An elaborator for the Resource effect class.

Synopsis

Documentation

runResourceIO :: forall (eh :: [EffectH]) (ef :: [EffectF]). (UnliftIO <<| eh, IO <| ef) => Eff (Resource ': eh) ef ~> Eff eh ef Source #

Elaborates the Resource effect under the UnliftIO context.