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 = 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