Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
commuteReaders :: ReaderT r1 (ReaderT r2 m) a -> ReaderT r2 (ReaderT r1 m) a Source #
Commute two ReaderT
transformer layers past each other
Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
commuteReaders :: ReaderT r1 (ReaderT r2 m) a -> ReaderT r2 (ReaderT r1 m) a Source #
Commute two ReaderT
transformer layers past each other