Properly import show from the String library
commit0cf6ad25e1b9f9683c8a415d56eda088e6bbb39e
authorEvan Czaplicki <info@elm-lang.org>
dateSat 1 Mar 2014, 20:09 (13 years ago)
parent7e901a6
libraries/Text.elm+2−1
@@ -25,6 +25,7 @@ There are also a bunch of functions to set parts of a `Style` individually:
2525-}
2626
2727import Basics (..)
28+import String
2829import Color (Color)
2930import Graphics.Element (Element, Three, Pos, ElementPrim, Properties)
3031import Maybe (Maybe)
@@ -123,4 +124,4 @@ Excellent for debugging.
123124-}
124125asText : a -> Element
125126asText value =
126− leftAligned (monospace (toText (show value)))
127+ leftAligned (monospace (toText (String.show value)))