{"action":"closed","issue":{"url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/950","repository_url":"https://api.github.com/repos/elm-lang/elm-compiler","labels_url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/950/labels{/name}","comments_url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/950/comments","events_url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/950/events","html_url":"https://github.com/elm-lang/elm-compiler/issues/950","id":83145916,"number":950,"title":"Constructors cannot be used as infix ops","user":{"login":"jvoigtlaender","id":5853832,"avatar_url":"https://avatars.githubusercontent.com/u/5853832?v=3","gravatar_id":"","url":"https://api.github.com/users/jvoigtlaender","html_url":"https://github.com/jvoigtlaender","followers_url":"https://api.github.com/users/jvoigtlaender/followers","following_url":"https://api.github.com/users/jvoigtlaender/following{/other_user}","gists_url":"https://api.github.com/users/jvoigtlaender/gists{/gist_id}","starred_url":"https://api.github.com/users/jvoigtlaender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvoigtlaender/subscriptions","organizations_url":"https://api.github.com/users/jvoigtlaender/orgs","repos_url":"https://api.github.com/users/jvoigtlaender/repos","events_url":"https://api.github.com/users/jvoigtlaender/events{/privacy}","received_events_url":"https://api.github.com/users/jvoigtlaender/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-31T17:49:46Z","updated_at":"2016-05-13T00:19:49Z","closed_at":"2016-05-13T00:19:49Z","body":"In the presence of\r\n```elm\r\ntype D = C Int Int\r\n\r\nc = C\r\n```\r\nthe expression ``3 `C` 4`` is rejected by the parser, whereas ``3 `c` 4`` is accepted.\r\n\r\nI think this has to do with [this line](https://github.com/elm-lang/elm-compiler/blob/0.15/src/Parse/Helpers.hs#L110) and [this definition](https://github.com/elm-lang/elm-compiler/blob/0.15/src/Parse/Helpers.hs#L75-L78).\r\n\r\n(In Haskell, ``3 `C` 4`` would be perfectly okay.)"}}