{"action":"created","issue":{"url":"https://api.github.com/repos/elm-lang/elm-lang.org/issues/377","labels_url":"https://api.github.com/repos/elm-lang/elm-lang.org/issues/377/labels{/name}","comments_url":"https://api.github.com/repos/elm-lang/elm-lang.org/issues/377/comments","events_url":"https://api.github.com/repos/elm-lang/elm-lang.org/issues/377/events","html_url":"https://github.com/elm-lang/elm-lang.org/pull/377","id":107359082,"number":377,"title":"Fix the types for averageNameLength example","user":{"login":"eeue56","id":1139198,"avatar_url":"https://avatars.githubusercontent.com/u/1139198?v=3","gravatar_id":"","url":"https://api.github.com/users/eeue56","html_url":"https://github.com/eeue56","followers_url":"https://api.github.com/users/eeue56/followers","following_url":"https://api.github.com/users/eeue56/following{/other_user}","gists_url":"https://api.github.com/users/eeue56/gists{/gist_id}","starred_url":"https://api.github.com/users/eeue56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eeue56/subscriptions","organizations_url":"https://api.github.com/users/eeue56/orgs","repos_url":"https://api.github.com/users/eeue56/repos","events_url":"https://api.github.com/users/eeue56/events{/privacy}","received_events_url":"https://api.github.com/users/eeue56/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-19T22:26:43Z","updated_at":"2015-10-11T11:37:35Z","closed_at":"2015-10-11T11:37:35Z","pull_request":{"url":"https://api.github.com/repos/elm-lang/elm-lang.org/pulls/377","html_url":"https://github.com/elm-lang/elm-lang.org/pull/377","diff_url":"https://github.com/elm-lang/elm-lang.org/pull/377.diff","patch_url":"https://github.com/elm-lang/elm-lang.org/pull/377.patch"},"body":"Someone on IRC and the mailing lists brought up that that the example in \"Model the Problem\" is wrong due to mix of Int/Float types. I've wrapped things in `toFloat` to make it work - not using `<|` to make simpler for a beginner to understand."},"comment":{"url":"https://api.github.com/repos/elm-lang/elm-lang.org/issues/comments/147184868","html_url":"https://github.com/elm-lang/elm-lang.org/pull/377#issuecomment-147184868","issue_url":"https://api.github.com/repos/elm-lang/elm-lang.org/issues/377","id":147184868,"user":{"login":"evancz","id":1658058,"avatar_url":"https://avatars.githubusercontent.com/u/1658058?v=3","gravatar_id":"","url":"https://api.github.com/users/evancz","html_url":"https://github.com/evancz","followers_url":"https://api.github.com/users/evancz/followers","following_url":"https://api.github.com/users/evancz/following{/other_user}","gists_url":"https://api.github.com/users/evancz/gists{/gist_id}","starred_url":"https://api.github.com/users/evancz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evancz/subscriptions","organizations_url":"https://api.github.com/users/evancz/orgs","repos_url":"https://api.github.com/users/evancz/repos","events_url":"https://api.github.com/users/evancz/events{/privacy}","received_events_url":"https://api.github.com/users/evancz/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T11:37:35Z","updated_at":"2015-10-11T11:37:35Z","body":"I redid this example to avoid getting into int/float conversions. Thanks for pointing out the mistake and providing a fix!"}}