{"action":"opened","issue":{"url":"https://api.github.com/repos/eagletmt/ghcmod-vim/issues/89","labels_url":"https://api.github.com/repos/eagletmt/ghcmod-vim/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/eagletmt/ghcmod-vim/issues/89/comments","events_url":"https://api.github.com/repos/eagletmt/ghcmod-vim/issues/89/events","html_url":"https://github.com/eagletmt/ghcmod-vim/issues/89","id":123716745,"number":89,"title":"Typeclass information missing when using :GhcModType and :GhcModTypeInsert","user":{"login":"SageEx","id":7141867,"avatar_url":"https://avatars.githubusercontent.com/u/7141867?v=3","gravatar_id":"","url":"https://api.github.com/users/SageEx","html_url":"https://github.com/SageEx","followers_url":"https://api.github.com/users/SageEx/followers","following_url":"https://api.github.com/users/SageEx/following{/other_user}","gists_url":"https://api.github.com/users/SageEx/gists{/gist_id}","starred_url":"https://api.github.com/users/SageEx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SageEx/subscriptions","organizations_url":"https://api.github.com/users/SageEx/orgs","repos_url":"https://api.github.com/users/SageEx/repos","events_url":"https://api.github.com/users/SageEx/events{/privacy}","received_events_url":"https://api.github.com/users/SageEx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-23T20:10:59Z","updated_at":"2015-12-23T20:10:59Z","closed_at":null,"body":"Is there an option to see the class constraints in the function definition ?\r\nLike:\r\n```haskell\r\ncompress [] = []\r\ncompress [a] = [a]\r\ncompress (a:b:xs)\r\n    | a==b = compress (a:xs)\r\n    | otherwise = a: compress (b:xs)\r\n```\r\nOn :GhcModTypeInsert it shows ``compress :: [a] -> [a]`` however, it should be ``compress :: Eq a => [a] -> [a]``.\r\nThis lack of typeclass information is wrong - ghci refuses to accept the file (as it should).\r\nSo, is there an configuration option that I overlooked ?\r\nIf not, shouldn't this be the default behaviour ?"}}