Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module exports ToSourceIO
and FromSourceIO
for MachineT
instances.
Synopsis
- class MachineToSourceIO m where
- machineToSourceIO :: MachineT m k o -> SourceT IO o
Documentation
class MachineToSourceIO m where Source #
Helper class to implement
instance
for various monads.ToSourceIO
MachineT
Instances
MachineToSourceIO IO Source # | |
Defined in Servant.Machines |
Orphan instances
MachineToSourceIO m => ToSourceIO o (MachineT m k o) Source # | |
toSourceIO :: MachineT m k o -> SourceIO o # | |
MonadIO m => FromSourceIO o (MachineT m k o) Source # | |
fromSourceIO :: SourceIO o -> MachineT m k o # |