@@ -15,7 +15,7 @@ are enclosed in `"double quotes"`. Strings are *not* lists of characters.
15@docs contains, startsWith, endsWith, indexes, indices
15@docs contains, startsWith, endsWith, indexes, indices
17# Conversions
17# Conversions
18−@docs toInt, toFloat, toList, fromList
18+@docs show, toInt, toFloat, toList, fromList
20# Formatting
20# Formatting
21Cosmetic operations such as padding with extra characters or trimming whitespace.
21Cosmetic operations such as padding with extra characters or trimming whitespace.
@@ -278,6 +278,14 @@ indexes = Native.String.indexes
278indices : String -> String -> [Int]
278indices : String -> String -> [Int]
279indices = Native.String.indexes
279indices = Native.String.indexes
281+{-| Turn any kind of value into a string.
284+ show [1,2] == "[1,2]"
287+show = Native.String.show
281{-| Try to convert a string into an int, failing on improperly formatted strings.
289{-| Try to convert a string into an int, failing on improperly formatted strings.
283 toInt "123" == Just 123
291 toInt "123" == Just 123