{"action":"closed","issue":{"url":"https://api.github.com/repos/haskell-suite/haskell-src-exts/issues/230","labels_url":"https://api.github.com/repos/haskell-suite/haskell-src-exts/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/haskell-suite/haskell-src-exts/issues/230/comments","events_url":"https://api.github.com/repos/haskell-suite/haskell-src-exts/issues/230/events","html_url":"https://github.com/haskell-suite/haskell-src-exts/issues/230","id":91182752,"number":230,"title":"Parse error when using type-level subtraction","user":{"login":"eigengrau","id":4939947,"avatar_url":"https://avatars.githubusercontent.com/u/4939947?v=3","gravatar_id":"","url":"https://api.github.com/users/eigengrau","html_url":"https://github.com/eigengrau","followers_url":"https://api.github.com/users/eigengrau/followers","following_url":"https://api.github.com/users/eigengrau/following{/other_user}","gists_url":"https://api.github.com/users/eigengrau/gists{/gist_id}","starred_url":"https://api.github.com/users/eigengrau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eigengrau/subscriptions","organizations_url":"https://api.github.com/users/eigengrau/orgs","repos_url":"https://api.github.com/users/eigengrau/repos","events_url":"https://api.github.com/users/eigengrau/events{/privacy}","received_events_url":"https://api.github.com/users/eigengrau/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-26T07:49:52Z","updated_at":"2015-08-04T14:44:12Z","closed_at":"2015-08-04T14:44:12Z","body":"I’ve seen both stylish-haskell and [hlint](https://github.com/ndmitchell/hlint/issues/141) choke on the GHC.TypeLits type-level subtraction operator. Since I figure haskell-src-exts does all the parsing for these tools, I’d report this here.\r\n\r\n```\r\ntail ∷ (CmpNat ν 0 ~ 'GT) ⇒ Vector α ν → Vector α (ν - 1)\r\n```\r\n\r\nWhen `-` is replaced by `+`, the parse goes through just fine."}}