{"action":"created","issue":{"url":"https://api.github.com/repos/guumaster/elm-weather-exercise/issues/1","repository_url":"https://api.github.com/repos/guumaster/elm-weather-exercise","labels_url":"https://api.github.com/repos/guumaster/elm-weather-exercise/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/guumaster/elm-weather-exercise/issues/1/comments","events_url":"https://api.github.com/repos/guumaster/elm-weather-exercise/issues/1/events","html_url":"https://github.com/guumaster/elm-weather-exercise/issues/1","id":217713115,"number":1,"title":"ELM 0.18","user":{"login":"dvddix","id":5778999,"avatar_url":"https://avatars1.githubusercontent.com/u/5778999?v=3","gravatar_id":"","url":"https://api.github.com/users/dvddix","html_url":"https://github.com/dvddix","followers_url":"https://api.github.com/users/dvddix/followers","following_url":"https://api.github.com/users/dvddix/following{/other_user}","gists_url":"https://api.github.com/users/dvddix/gists{/gist_id}","starred_url":"https://api.github.com/users/dvddix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvddix/subscriptions","organizations_url":"https://api.github.com/users/dvddix/orgs","repos_url":"https://api.github.com/users/dvddix/repos","events_url":"https://api.github.com/users/dvddix/events{/privacy}","received_events_url":"https://api.github.com/users/dvddix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-28T22:36:10Z","updated_at":"2017-03-29T07:27:51Z","closed_at":null,"body":"Try to port this code to elm 0.18 but I need help...\r\n\r\nFirst update which seems to be OK : \r\n--    Decode.object6 WeatherInfo\r\n--        (\"id\" := Decode.int)\r\n--        (\"name\" := Decode.string)\r\n--        (\"sys\" := (Decode.at [ \"country\" ] Decode.string))\r\n--        (\"main\" := (Decode.at [ \"temp\" ] Decode.float))\r\n--        (\"weather\" := (Decode.at [ \"0\", \"description\" ] Decode.string))\r\n--        (\"weather\" := (Decode.at [ \"0\", \"icon\" ] Decode.string))\r\n    Decode.map6 WeatherInfo\r\n        (at [\"id\"] int)\r\n        (at [\"name\"] string)\r\n        (at [\"sys\", \"country\" ] string)\r\n        (at [\"main\", \"temp\" ] float)\r\n        (at [\"weather\", \"0\", \"description\" ] string)\r\n        (at [\"weather\",  \"0\", \"icon\" ] string)\r\n\r\nSecond one but which doesn't succeed due to Task.perform method change in ELM 0.18\r\n--        Http.get decodeWeatherList url |> Task.perform FetchWeatherFail FetchWeatherSuccess\r\n \r\nTry this first version : \r\n        Http.send FetchWeatherSuccess (Http.get url decodeWeatherList) \r\nOr this second : \r\n        Http.get url decodeWeatherList |> Task.perform FetchWeatherSuccess\r\n\r\nBut there is an error on compilation... according to the type of FetchWeatherSuccess\r\nCan you help me ?\r\nThanks a lot :)\r\n"},"comment":{"url":"https://api.github.com/repos/guumaster/elm-weather-exercise/issues/comments/290006578","html_url":"https://github.com/guumaster/elm-weather-exercise/issues/1#issuecomment-290006578","issue_url":"https://api.github.com/repos/guumaster/elm-weather-exercise/issues/1","id":290006578,"user":{"login":"guumaster","id":765396,"avatar_url":"https://avatars2.githubusercontent.com/u/765396?v=3","gravatar_id":"","url":"https://api.github.com/users/guumaster","html_url":"https://github.com/guumaster","followers_url":"https://api.github.com/users/guumaster/followers","following_url":"https://api.github.com/users/guumaster/following{/other_user}","gists_url":"https://api.github.com/users/guumaster/gists{/gist_id}","starred_url":"https://api.github.com/users/guumaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guumaster/subscriptions","organizations_url":"https://api.github.com/users/guumaster/orgs","repos_url":"https://api.github.com/users/guumaster/repos","events_url":"https://api.github.com/users/guumaster/events{/privacy}","received_events_url":"https://api.github.com/users/guumaster/received_events","type":"User","site_admin":false},"created_at":"2017-03-29T07:27:51Z","updated_at":"2017-03-29T07:27:51Z","body":"I'll try, depending of free time. This was a weekend hack to taste elm. Maybe open a PR and I can continue over your changes?\r\n\r\nThanks for the interest."}}
{"actor":{"display_login":"guumaster"}}