A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://hackage.haskell.org/packages/archive/base/4.6.0.0/doc/html/Data-String.html below:

Data.String

Documentation

type String = [Char]Source

A String is a list of characters. String constants in Haskell are values of type String.

class IsString a whereSource

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

Methods

fromString :: String -> aSource

Instances

IsString [Char]   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.

unlines :: [String] -> StringSource

unlines is an inverse operation to lines. It joins lines, after appending a terminating newline to each.

unwords :: [String] -> StringSource

unwords is an inverse operation to words. It joins words with separating spaces.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4