{"action":"created","issue":{"url":"https://api.github.com/repos/elm-lang/html/issues/84","repository_url":"https://api.github.com/repos/elm-lang/html","labels_url":"https://api.github.com/repos/elm-lang/html/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/elm-lang/html/issues/84/comments","events_url":"https://api.github.com/repos/elm-lang/html/issues/84/events","html_url":"https://github.com/elm-lang/html/issues/84","id":180403252,"number":84,"title":"Html.App should take List (Html Action)","user":{"login":"tugend","id":1878092,"avatar_url":"https://avatars.githubusercontent.com/u/1878092?v=3","gravatar_id":"","url":"https://api.github.com/users/tugend","html_url":"https://github.com/tugend","followers_url":"https://api.github.com/users/tugend/followers","following_url":"https://api.github.com/users/tugend/following{/other_user}","gists_url":"https://api.github.com/users/tugend/gists{/gist_id}","starred_url":"https://api.github.com/users/tugend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tugend/subscriptions","organizations_url":"https://api.github.com/users/tugend/orgs","repos_url":"https://api.github.com/users/tugend/repos","events_url":"https://api.github.com/users/tugend/events{/privacy}","received_events_url":"https://api.github.com/users/tugend/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-30T21:11:30Z","updated_at":"2016-11-04T15:33:19Z","closed_at":null,"body":"Hi.\n\nI wonder why Html.App can't take List (Html Action)?\n### What I expected\n\nTo able to output this without wrapping the header, main and footer in a single tag.\n\n``` html\n<html><body>\n<header>hello header</header>\n<main>hello main</main>\n<footer>hello footer</div>\n</body></html>\n```\n### What I got\n\n``` elm\n\nmain =\n    App.program\n        { init = init \n        , view = app\n        , update = update\n        , subscriptions = subscriptions\n        }\n\napp : Models.App -> List (Html Action)\napp app = \n    [   header [] [ text \"hello header\" ] \n      , main'  [] [ text \"hello world\"  ] \n      , footer [] [ text \"hello footer\" ]\n    ]\n```\n\nWhich results in a runtime type error:\n'Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.'\n"},"comment":{"url":"https://api.github.com/repos/elm-lang/html/issues/comments/258464027","html_url":"https://github.com/elm-lang/html/issues/84#issuecomment-258464027","issue_url":"https://api.github.com/repos/elm-lang/html/issues/84","id":258464027,"user":{"login":"OvermindDL1","id":401605,"avatar_url":"https://avatars.githubusercontent.com/u/401605?v=3","gravatar_id":"","url":"https://api.github.com/users/OvermindDL1","html_url":"https://github.com/OvermindDL1","followers_url":"https://api.github.com/users/OvermindDL1/followers","following_url":"https://api.github.com/users/OvermindDL1/following{/other_user}","gists_url":"https://api.github.com/users/OvermindDL1/gists{/gist_id}","starred_url":"https://api.github.com/users/OvermindDL1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OvermindDL1/subscriptions","organizations_url":"https://api.github.com/users/OvermindDL1/orgs","repos_url":"https://api.github.com/users/OvermindDL1/repos","events_url":"https://api.github.com/users/OvermindDL1/events{/privacy}","received_events_url":"https://api.github.com/users/OvermindDL1/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T15:33:19Z","updated_at":"2016-11-04T15:33:19Z","body":"> I don't know where I should send this kind of questions to.\r\n\r\nTo:  https://groups.google.com/forum/#!forum/elm-discuss\r\n\r\nElm does not use github like most projects but rather as a very simple kind of 'todo' list (even though that is what the Project tab in github is for rather than issues), the above list is where discussion and question takes place.  :-)"}}
{"actor":{"display_login":"OvermindDL1"}}