We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c2ad91 commit d8a87ceCopy full SHA for d8a87ce
System/Console/Haskeline/InputT.hs
@@ -189,6 +189,11 @@ mapInputT f = InputT . mapReaderT (mapReaderT (mapReaderT
189
(mapReaderT (mapReaderT f))))
190
. unInputT
191
192
+mapInputT_ :: (m () -> m ()) -> InputT m () -> InputT m ()
193
+mapInputT_ f = InputT . mapReaderT (mapReaderT (mapReaderT
194
+ (mapReaderT (mapReaderT f))))
195
+ . unInputT
196
+
197
-- | Read input from 'stdin'.
198
-- Use terminal-style interaction if 'stdin' is connected to
199
-- a terminal and has echoing enabled. Otherwise (e.g., if 'stdin' is a pipe), use
0 commit comments