on master help sign in
docs: correct the definition of asText
commit00dc6fd521e7bc34c1058afdf97b7ec089afed2a authorEvan Czaplicki <info@elm-lang.org> dateWed 23 Jul 2014, 12:39 (12 years ago) parent847eaa3
1 file changed+1−1
libraries/Text.elm+1−1
libraries/Text.elm+1−1
@@ -212,7 +212,7 @@ markdown = Native.Text.markdown
212212{-| Convert anything to its textual representation and make it displayable in
213213the browser:
214214
215− asText value = text (monospace (show value))
215+ asText value = leftAligned (monospace (toText (show value)))
216216
217217Excellent for debugging.
218218-}