ZVON > References > Haskell reference
| Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random

Module: Prelude
Function: getLine
Type: IO String
Description:
Related:

Example 1
Program source: 

main = do x <- getLine
          putStr x

Input: Hello, world!

Output: Hello, world!