[haskeline] #117: mapInputT

haskeline haskeline at projects.haskell.org
Tue Jan 3 19:50:06 GMT 2012


#117: mapInputT
------------------------+---------------------------------------------------
Reporter:  guest        |       Owner:     
    Type:  enhancement  |      Status:  new
Priority:  major        |   Milestone:     
 Version:               |    Keywords:     
------------------------+---------------------------------------------------
 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.

-- 
Ticket URL: <http://trac.haskell.org/haskeline/ticket/117>
haskeline <http://example.org/>
My example project


More information about the Haskeline mailing list