on master help sign in
Organize the docs into more reasonable sections
commit0828c9ead3c896541559716a7532140a725e02fd authorEvan Czaplicki <info@elm-lang.org> dateSun 6 Oct 2013, 15:57 (13 years ago) parent81cbe9f
1 file changed+16−12
libraries/String.elm+16−12
libraries/String.elm+16−12
@@ -1,27 +1,31 @@
11module String where
22{-| A built-in representation of String for effecient string manipulation.
33
4−@docs isEmpty, length, cons, uncons
4+# Basics
5+@docs isEmpty, length, cons, uncons, reverse,
6+ map, filter, foldl, foldr, any, all, repeat
57
6−@docs map, filter, reverse, foldl, foldr
8+# Split and Join
9+@docs split, join, words, unwords, lines, unlines
710
8−@docs any, all, toUpper, toLower
11+# Get Substrings
12+@docs sub, left, right, dropLeft, dropRight
913
10−@docs split, join, repeat
14+# Check for Substrings
15+@docs contains, startsWith, endsWith, indices, indexes
16+
17+# Conversion To Numbers
18+@docs toInt, toFloat
1119
12−Should the next 4 exist?
13−@docs left, right, dropLeft, dropRight, sub
20+# Formatting
21+@docs toUpper, toLower
1422
23+### Pad
1524@docs pad, padLeft, padRight
1625
26+### Trim
1727@docs trim, trimLeft, trimRight
1828
19−@docs words, unwords, lines, unlines
20−
21−@docs contains, startsWith, endsWith, indices, indexes
22−
23−@docs toInt, toFloat
24−
2529-}
2630
2731import Native.String