ouroboros-consensus-test-0.1.0.0: Tests of the consensus layer
Safe HaskellNone
LanguageHaskell2010

Test.Util.FS.Sim.Pure

Synopsis

Documentation

data PureSimFS a Source #

Monad useful for running HasFS in pure code

Instances

Instances details
Monad PureSimFS Source # 
Instance details

Defined in Test.Util.FS.Sim.Pure

Methods

(>>=)PureSimFS a → (a → PureSimFS b) → PureSimFS b Source #

(>>)PureSimFS a → PureSimFS b → PureSimFS b Source #

return ∷ a → PureSimFS a Source #

Functor PureSimFS Source # 
Instance details

Defined in Test.Util.FS.Sim.Pure

Methods

fmap ∷ (a → b) → PureSimFS a → PureSimFS b Source #

(<$) ∷ a → PureSimFS b → PureSimFS a Source #

Applicative PureSimFS Source # 
Instance details

Defined in Test.Util.FS.Sim.Pure

Methods

pure ∷ a → PureSimFS a Source #

(<*>)PureSimFS (a → b) → PureSimFS a → PureSimFS b Source #

liftA2 ∷ (a → b → c) → PureSimFS a → PureSimFS b → PureSimFS c Source #

(*>)PureSimFS a → PureSimFS b → PureSimFS b Source #

(<*)PureSimFS a → PureSimFS b → PureSimFS a Source #

MonadState MockFS PureSimFS Source # 
Instance details

Defined in Test.Util.FS.Sim.Pure

Methods

getPureSimFS MockFS Source #

putMockFSPureSimFS () Source #

state ∷ (MockFS → (a, MockFS)) → PureSimFS a Source #

MonadError FsError PureSimFS Source # 
Instance details

Defined in Test.Util.FS.Sim.Pure