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