Data.String (original) (raw)

Contents

Description

The String type and associated operations.

Synopsis

Documentation

class IsString a whereSource

Class for string-like datastructures; used by the overloaded string extension (-foverloaded-strings in GHC).

Functions on strings

lines :: String -> [String]Source

[lines](Data-String.html#v:lines) breaks a string up into a list of strings at newline characters. The resulting strings do not contain newlines.