Safe Haskell | Safe-Inferred |
---|
- stdinS :: Proxy p => () -> Producer p String IO r
- getLineS :: Proxy p => () -> Producer p String IO r
- getLineC :: Proxy p => () -> CoProducer p String IO r
- readLnS :: (Read b, Proxy p) => () -> Producer p b IO r
- readLnC :: (Read a', Proxy p) => () -> CoProducer p a' IO r
- stdoutD :: Proxy p => x -> p x String x String IO r
- putStrLnD :: Proxy p => x -> p x String x String IO r
- putStrLnU :: Proxy p => String -> p String x String x IO r
- putStrLnB :: Proxy p => String -> p String String String String IO r
- printD :: (Show a, Proxy p) => x -> p x a x a IO r
- printU :: (Show a', Proxy p) => a' -> p a' x a' x IO r
- printB :: (Show a', Show a, Proxy p) => a' -> p a' a a' a IO r
- hGetLineS :: Proxy p => Handle -> () -> Producer p String IO ()
- hGetLineC :: Proxy p => Handle -> () -> CoProducer p String IO ()
- hPrintD :: (Show a, Proxy p) => Handle -> x -> p x a x a IO r
- hPrintU :: (Show a', Proxy p) => Handle -> a' -> p a' x a' x IO r
- hPrintB :: (Show a, Show a', Proxy p) => Handle -> a' -> p a' a a' a IO r
- hPutStrLnD :: Proxy p => Handle -> x -> p x String x String IO r
- hPutStrLnU :: Proxy p => Handle -> String -> p String x String x IO r
- hPutStrLnB :: Proxy p => Handle -> String -> p String String String String IO r
Standard I/O
Input
getLineS :: Proxy p => () -> Producer p String IO rSource
A Producer
that sends lines from stdin
downstream
getLineC :: Proxy p => () -> CoProducer p String IO rSource
A CoProducer
that sends lines from stdin
upstream
readLnS :: (Read b, Proxy p) => () -> Producer p b IO rSource
read
input from stdin
one line at a time and send 'D
'ownstream
readLnC :: (Read a', Proxy p) => () -> CoProducer p a' IO rSource
read
input from stdin
one line at a time and send 'U
'pstream
Output
putStrLnD :: Proxy p => x -> p x String x String IO rSource
putStrLn
s all values flowing 'D
'ownstream to stdout
putStrLnU :: Proxy p => String -> p String x String x IO rSource
putStrLn
s all values flowing 'U
'pstream to stdout
putStrLnB :: Proxy p => String -> p String String String String IO rSource
putStrLn
s all values flowing through it to stdout
Prefixes upstream values with "U:
" and downstream values with "D:
"
printD :: (Show a, Proxy p) => x -> p x a x a IO rSource
print
s all values flowing 'D
'ownstream to stdout
printU :: (Show a', Proxy p) => a' -> p a' x a' x IO rSource
print
s all values flowing 'U
'pstream to stdout
printB :: (Show a', Show a, Proxy p) => a' -> p a' a a' a IO rSource
print
s all values flowing through it to stdout
Prefixes upstream values with "U:
" and downstream values with "D:
"
Handle I/O
Input
hGetLineS :: Proxy p => Handle -> () -> Producer p String IO ()Source
A Producer
that sends lines from a handle downstream
hGetLineC :: Proxy p => Handle -> () -> CoProducer p String IO ()Source
A CoProducer
that sends lines from a Handle
upstream
Output
hPrintD :: (Show a, Proxy p) => Handle -> x -> p x a x a IO rSource
print
s all values flowing 'D
'ownstream to a Handle
hPrintU :: (Show a', Proxy p) => Handle -> a' -> p a' x a' x IO rSource
print
s all values flowing 'U
'pstream to a Handle
hPrintB :: (Show a, Show a', Proxy p) => Handle -> a' -> p a' a a' a IO rSource
print
s all values flowing through it to a Handle
Prefixes upstream values with "U:
" and downstream values with "D:
"
hPutStrLnD :: Proxy p => Handle -> x -> p x String x String IO rSource
putStrLn
s all values flowing 'D
'ownstream to a Handle