Ticket #117 (closed enhancement: fixed)
|Reported by:||guest||Owned by:|
I have a need for a mapInputT :: (m a -> n b) -> InputT m a -> InputT n b function, which should provide an idiomatic way to (e.g.) layer haskeline over some haskellDB usage (which is IO specific - transaction :: IO a -> IO a ).
This should be analagous to mapReaderT, mapStateT etc.
It should be short, but tricky to write. If I can come up with an implementation I'll attach it here.