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

Name do expressions
Description A do expression provides a more conventional syntax for monadic programming.
Related:

Example 1
Program source: 

aaa = do putStr "x: "
         l <- getLine
         return (words l)

Input: aaa

Output: x:

Input: 3 4 5 6

Output: ["3","4","5","6"]