Copyright | (c) The University of Glasgow 2007 |
---|---|
License | (c) The University of Glasgow 2007 |
Maintainer | libraries@haskell.org |
Stability | experimental |
Portability | portable |
Safe Haskell | Trustworthy |
The String
type and associated operations.
Documentation
Class for string-like datastructures; used by the overloaded string extension (-XOverloadedStrings in GHC).
fromString :: String -> aSource
Functions on strings
lines :: String -> [String]Source
lines
breaks a string up into a list of strings at newline
characters. The resulting strings do not contain newlines.
words :: String -> [String]Source
words
breaks a string up into a list of words, which were delimited
by white space.