on master help sign in
docs: correct the definition of asText
00dc6fdEvan Czaplicki
libraries/Text.elm+1−1
@@ -212,7 +212,7 @@ markdown = Native.Text.markdown
212{-| Convert anything to its textual representation and make it displayable in
212{-| Convert anything to its textual representation and make it displayable in
213the browser:
213the browser:
214
214
215− asText value = text (monospace (show value))
215+ asText value = leftAligned (monospace (toText (show value)))
216
216
217Excellent for debugging.
217Excellent for debugging.
218-}
218-}