
12 Aug
2015
12 Aug
'15
11:09 a.m.
On Wed, Aug 12, 2015 at 04:26:59PM +0200, haskell@stefan-klinger.de wrote:
At first I thought I had stacked the `StateT` and `InputT` in the wrong order. But changing from `InputT (StateT Int IO) ()` to `StateT Int (InputT IO) ()` seems not to change anything (which really gives me the creeps).
InputT is essentially ReaderT http://hackage.haskell.org/package/haskeline-0.7.2.1/docs/src/System-Console... so it's not surprising that the order has no effect. Reader commutes with State. Tom