{"action":"created","issue":{"url":"https://api.github.com/repos/stil4m/elm-syntax/issues/2","repository_url":"https://api.github.com/repos/stil4m/elm-syntax","labels_url":"https://api.github.com/repos/stil4m/elm-syntax/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/stil4m/elm-syntax/issues/2/comments","events_url":"https://api.github.com/repos/stil4m/elm-syntax/issues/2/events","html_url":"https://github.com/stil4m/elm-syntax/issues/2","id":276613025,"number":2,"title":"Elm.Syntax.Pattern.patternRange","user":{"login":"Janiczek","id":149425,"avatar_url":"https://avatars2.githubusercontent.com/u/149425?v=4","gravatar_id":"","url":"https://api.github.com/users/Janiczek","html_url":"https://github.com/Janiczek","followers_url":"https://api.github.com/users/Janiczek/followers","following_url":"https://api.github.com/users/Janiczek/following{/other_user}","gists_url":"https://api.github.com/users/Janiczek/gists{/gist_id}","starred_url":"https://api.github.com/users/Janiczek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Janiczek/subscriptions","organizations_url":"https://api.github.com/users/Janiczek/orgs","repos_url":"https://api.github.com/users/Janiczek/repos","events_url":"https://api.github.com/users/Janiczek/events{/privacy}","received_events_url":"https://api.github.com/users/Janiczek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-11-24T13:10:59Z","updated_at":"2017-11-30T11:43:26Z","closed_at":null,"author_association":"NONE","body":"This might be worth including in the package, similarly to `Elm.Syntax.Exposing.topLevelExposeRange`.\r\n\r\n```\r\npatternRange : Elm.Syntax.Pattern.Pattern -> Range\r\npatternRange pattern =\r\n    case pattern of\r\n        Elm.Syntax.Pattern.AllPattern range ->\r\n            range\r\n\r\n        Elm.Syntax.Pattern.UnitPattern range ->\r\n            range\r\n\r\n        Elm.Syntax.Pattern.CharPattern _ range ->\r\n            range\r\n\r\n        Elm.Syntax.Pattern.StringPattern _ range ->\r\n            range\r\n\r\n        Elm.Syntax.Pattern.IntPattern _ range ->\r\n            range\r\n\r\n        Elm.Syntax.Pattern.FloatPattern _ range ->\r\n            range\r\n\r\n        Elm.Syntax.Pattern.TuplePattern _ range ->\r\n            range\r\n\r\n        Elm.Syntax.Pattern.RecordPattern _ range ->\r\n            range\r\n\r\n        Elm.Syntax.Pattern.UnConsPattern _ _ range ->\r\n            range\r\n\r\n        Elm.Syntax.Pattern.ListPattern _ range ->\r\n            range\r\n\r\n        Elm.Syntax.Pattern.VarPattern _ range ->\r\n            range\r\n\r\n        Elm.Syntax.Pattern.NamedPattern _ _ range ->\r\n            range\r\n\r\n        Elm.Syntax.Pattern.QualifiedNamePattern _ range ->\r\n            range\r\n\r\n        Elm.Syntax.Pattern.AsPattern _ _ range ->\r\n            range\r\n\r\n        Elm.Syntax.Pattern.ParenthesizedPattern _ range ->\r\n            range\r\n```"},"comment":{"url":"https://api.github.com/repos/stil4m/elm-syntax/issues/comments/348165027","html_url":"https://github.com/stil4m/elm-syntax/issues/2#issuecomment-348165027","issue_url":"https://api.github.com/repos/stil4m/elm-syntax/issues/2","id":348165027,"user":{"login":"Janiczek","id":149425,"avatar_url":"https://avatars2.githubusercontent.com/u/149425?v=4","gravatar_id":"","url":"https://api.github.com/users/Janiczek","html_url":"https://github.com/Janiczek","followers_url":"https://api.github.com/users/Janiczek/followers","following_url":"https://api.github.com/users/Janiczek/following{/other_user}","gists_url":"https://api.github.com/users/Janiczek/gists{/gist_id}","starred_url":"https://api.github.com/users/Janiczek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Janiczek/subscriptions","organizations_url":"https://api.github.com/users/Janiczek/orgs","repos_url":"https://api.github.com/users/Janiczek/repos","events_url":"https://api.github.com/users/Janiczek/events{/privacy}","received_events_url":"https://api.github.com/users/Janiczek/received_events","type":"User","site_admin":false},"created_at":"2017-11-30T11:43:25Z","updated_at":"2017-11-30T11:43:25Z","author_association":"NONE","body":"From looking at the commits in the issue-2 branch, seems good to me! I don't currently have time to incorporate that into my code, so no field report, but if I find anything later, I'll open an issue again :)"}}
{"actor":{"display_login":"Janiczek"}}