{"action":"opened","issue":{"url":"https://api.github.com/repos/chrisdone/ghci-ng/issues/14","labels_url":"https://api.github.com/repos/chrisdone/ghci-ng/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/chrisdone/ghci-ng/issues/14/comments","events_url":"https://api.github.com/repos/chrisdone/ghci-ng/issues/14/events","html_url":"https://github.com/chrisdone/ghci-ng/issues/14","id":58660174,"number":14,"title":"Why haskell-mode-show-type-at shows a wrong type?","user":{"login":"meditans","id":4641445,"avatar_url":"https://avatars.githubusercontent.com/u/4641445?v=3","gravatar_id":"","url":"https://api.github.com/users/meditans","html_url":"https://github.com/meditans","followers_url":"https://api.github.com/users/meditans/followers","following_url":"https://api.github.com/users/meditans/following{/other_user}","gists_url":"https://api.github.com/users/meditans/gists{/gist_id}","starred_url":"https://api.github.com/users/meditans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meditans/subscriptions","organizations_url":"https://api.github.com/users/meditans/orgs","repos_url":"https://api.github.com/users/meditans/repos","events_url":"https://api.github.com/users/meditans/events{/privacy}","received_events_url":"https://api.github.com/users/meditans/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-23T22:27:33Z","updated_at":"2015-02-23T22:27:33Z","closed_at":null,"body":"Hi, when I use the function haskell-mode-show-type-at on `f` here:\r\n\r\n    module Why where\r\n    f x = x * 2\r\n\r\nI get a type for f which is `f :: a -> a`. It's true that I get the right type with the info command, but, as I often use C-u C-t to insert the inferred type, I wonder what is the reason for this behaviour."}}