on master help sign in
Get Text compiling
commit3cc169ba095fcb1b9c3d28a185be5d5229d5d22b authorEvan Czaplicki <info@elm-lang.org> dateSat 27 Jul 2013, 13:08 (13 years ago) parentfc6ce75
1 file changed+6−1
libraries/Text.elm+6−1
libraries/Text.elm+6−1
@@ -1,9 +1,14 @@
11
22module Text where
33
4−import open Color
4+import Color (Color)
5+import Graphics.Element (Element, Three, Pos, ElementPrim, Properties)
6+import Maybe (Maybe)
7+import JavaScript (JSString)
58import Native.Text as Native
69
10+data Text = Text
11+
712-- Convert a string into text which can be styled and displayed.
813toText : String -> Text
914toText = Native.toText