module Effectful.FileSystem.Effect
(
FileSystem
, runFileSystem
) where
import Effectful
import Effectful.Dispatch.Static
data FileSystem :: Effect
type instance DispatchOf FileSystem = Static WithSideEffects
data instance StaticRep FileSystem = FileSystem
runFileSystem :: IOE :> es => Eff (FileSystem : es) a -> Eff es a
runFileSystem :: forall (es :: [Effect]) a.
(IOE :> es) =>
Eff (FileSystem : es) a -> Eff es a
runFileSystem = StaticRep FileSystem -> Eff (FileSystem : es) a -> Eff es a
forall (e :: Effect) (sideEffects :: SideEffects) (es :: [Effect])
a.
(DispatchOf e ~ 'Static sideEffects, MaybeIOE sideEffects es) =>
StaticRep e -> Eff (e : es) a -> Eff es a
evalStaticRep StaticRep FileSystem
FileSystem