on master help sign in
Merge pull request #297 from mgold/dev

Update docs for new String representation.

commitffeec1ac1d5ca1c2b717239075c0a280d2855c62 authorEvan Czaplicki <info@elm-lang.org> dateWed 16 Oct 2013, 08:20 (13 years ago) parentd0232b4dbd8b4d
2 files changed+4−6
libraries/Char.elm+2−5 libraries/String.elm+2−1
libraries/Char.elm+2−5
@@ -1,11 +1,8 @@
11
22module Char where
33
4−{-| Functions for working with characters.
5−
6−Like C, characters are enclosed in single quotes, and strings in double quotes.
7−Like Haskell, strings are just [lists](/docs/List.elm) of characters, so `"elm"
8−== ['e', 'l', 'm']`.
4+{-| Functions for working with characters. Character literals are enclosed in
5+`'a'` pair of single quotes.
96
107# Classification
118@docs isUpper, isLower, isDigit, isOctDigit, isHexDigit
libraries/String.elm+2−1
@@ -1,5 +1,6 @@
11module String where
2−{-| A built-in representation for efficient string manipulation.
2+{-| A built-in representation for efficient string manipulation. String literals
3+are enclosed in `"double quotes"`. Strings are *not* lists of characters.
34
45# Basics
56@docs isEmpty, length, cons, uncons, reverse,