Failed to import Text.asText value into elm 0.15
I have a hello world program in elm 0.15 as,
import Text exposing (asText)
main = asText "Hello"
When compiled to html with, elm-make h.elm
it throws an error like,
Error in basics2.elm:
Import Error: Could not import value 'Text.asText'.
It is not exported by module Text.
Note: I am using import Text exposing (asText)
, not import Text (asText)
as the elm 0.15 compiler explicitly instructed me to do this.
+3
source to share