on master help sign in
Update docs for new String representation.
dbd8b4dMax Goldstein
libraries/Char.elm+2−5
@@ -1,11 +1,8 @@
1
1
2module Char where
2module Char where
3
3
4−{-| Functions for working with characters.
4+{-| Functions for working with characters. Character literals are enclosed in
5−
5+`'a'` pair of single quotes.
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']`.
9
6
10# Classification
7# Classification
11@docs isUpper, isLower, isDigit, isOctDigit, isHexDigit
8@docs isUpper, isLower, isDigit, isOctDigit, isHexDigit
libraries/String.elm+2−1
@@ -1,5 +1,6 @@
1module String where
1module 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.
3
4
4# Basics
5# Basics
5@docs isEmpty, length, cons, uncons, reverse,
6@docs isEmpty, length, cons, uncons, reverse,