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
Datatype: String
Description: A string is a list of characters. Strings may be abbreviated using the lexical syntax described in Section 2.6. For example, "A string" abbreviates [ 'A',' ','s','t','r', 'i','n','g'].
Definition:
type  String  =  [Char]
In function types: String -> IO a : readIO
FilePath -> String -> IO () : appendFile, writeFile
FilePath -> IO String : readFile
(String -> String) -> IO () : interact
IO String : getContents, getLine
String -> IOError : userError
String -> ShowS : showString
String -> a : error, read
String -> a b : fail
String -> [String] : lines, words
[String] -> String : unlines, unwords
String -> IO () : putStr, putStrLn
a -> String : show
ReadS String : lex