Elm 在MVCTodo的更新版本中替换Html.app

Elm 在MVCTodo的更新版本中替换Html.app,elm,Elm,我想在Elm package.json中更新新的Elm。我的新elm package.json是: { "version": "2.0.0", "summary": "TodoMVC created with Elm and elm-html", "repository": "https://github.com/somenxavier/minuscule.git", "license": "BSD3", "source-directories": [

我想在
Elm package.json
中更新新的Elm。我的新
elm package.json
是:

{
    "version": "2.0.0",
    "summary": "TodoMVC created with Elm and elm-html",
    "repository": "https://github.com/somenxavier/minuscule.git",
    "license": "BSD3",
    "source-directories": [
        "."
    ],
    "exposed-modules": [],
    "dependencies": {
        "elm-lang/core": "5.1.1 <= v < 6.0.0",
        "elm-lang/html": "2.0.0 <= v < 3.0.0",
        "elm-lang/dom": "1.1.1 <= v < 2.0.0",
        "elm-lang/virtual-dom": "2.0.4 <= v < 2.1.0",
        "elm-lang/navigation": "2.1.0 <= v < 2.2.0",
        "elm-community/string-extra": "1.4.0 <= v < 1.5.0"
    },
    "elm-version": "0.18.0 <= v < 0.19.0"
}
我知道
html.app
是,但是如何在代码中替换它的引用呢?具体来说,如何替换这个

Html.App.map (\msg -> UpdateTask ( id, msg )) taskView
看。具体而言:

elm lang/html
html.App
折叠为
html
。因此,您需要删除任何导入
Html.App
imports,并参考
Html.program

Html.App.map

Html.App.map (\msg -> UpdateTask ( id, msg )) taskView