| ZVON > References > Haskell reference |
| Intro / Search / ZVON |
| | Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random |
| Module: | Prelude |
|---|---|
| Function: | lex |
| Type: | ReadS String |
| Description: | |
| Related: | read, reads, show, shows |
Input: lex "ABC"
Output: [("ABC","")]
Input: lex "ABC DEF GHI"
Output: [("ABC"," DEF GHI")]
Input:
Output:
Input:
Output: