无法在elm 0.15中导入值Text.asText

无法在elm 0.15中导入值Text.asText,elm,Elm,我在elm 0.15有一个hello world程序 import Text exposing (asText) main = asText "Hello" 使用elm make h.elm编译为html时,会抛出如下错误: Error in basics2.elm: Import Error: Could not import value 'Text.asText'. It is not exported by module Text. 注意:我使用的是导入文本公开(asText

我在elm 0.15有一个hello world程序

import Text exposing (asText)
main = asText "Hello"
使用
elm make h.elm
编译为html时,会抛出如下错误:

Error in basics2.elm:

Import Error: Could not import value 'Text.asText'.
    It is not exported by module Text.

注意:我使用的是
导入文本公开(asText)
,而不是
导入文本(asText)
,因为elm 0.15编译器明确指示我这样做。

使用
Graphics.Element。show
而不是从

import Graphics.Element exposing (show)
main = show "Hello"