{"action":"created","issue":{"url":"https://api.github.com/repos/purescript/purescript/issues/1274","labels_url":"https://api.github.com/repos/purescript/purescript/issues/1274/labels{/name}","comments_url":"https://api.github.com/repos/purescript/purescript/issues/1274/comments","events_url":"https://api.github.com/repos/purescript/purescript/issues/1274/events","html_url":"https://github.com/purescript/purescript/issues/1274","id":95428484,"number":1274,"title":"Type inference problem \"No instance found for Prelude.Ord\"","user":{"login":"user471","id":5988253,"avatar_url":"https://avatars.githubusercontent.com/u/5988253?v=3","gravatar_id":"","url":"https://api.github.com/users/user471","html_url":"https://github.com/user471","followers_url":"https://api.github.com/users/user471/followers","following_url":"https://api.github.com/users/user471/following{/other_user}","gists_url":"https://api.github.com/users/user471/gists{/gist_id}","starred_url":"https://api.github.com/users/user471/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/user471/subscriptions","organizations_url":"https://api.github.com/users/user471/orgs","repos_url":"https://api.github.com/users/user471/repos","events_url":"https://api.github.com/users/user471/events{/privacy}","received_events_url":"https://api.github.com/users/user471/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/purescript/purescript/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-16T13:03:02Z","updated_at":"2015-07-16T13:09:26Z","closed_at":null,"body":"```\r\nmodule Main where\r\n\r\nimport Prelude\r\nimport Data.Map\r\nimport Data.Maybe\r\nimport Control.Monad.Eff.Console\r\n\r\n-- updateFoo :: forall k. (Ord k) => k -> Map k Int -> Map k Int\r\nupdateFoo = update (\\v -> Just 10)\r\n```\r\n\r\n```\r\nError at Main.purs line 3, column 1 - line 4, column 1:\r\n  No instance found for Prelude.Ord _4\r\n```\r\nupdateFoo isn't compiled without type annotation. Is it a bug? \r\n\r\nAlso line and column are wrong.\r\n"},"comment":{"url":"https://api.github.com/repos/purescript/purescript/issues/comments/121951291","html_url":"https://github.com/purescript/purescript/issues/1274#issuecomment-121951291","issue_url":"https://api.github.com/repos/purescript/purescript/issues/1274","id":121951291,"user":{"login":"garyb","id":693642,"avatar_url":"https://avatars.githubusercontent.com/u/693642?v=3","gravatar_id":"","url":"https://api.github.com/users/garyb","html_url":"https://github.com/garyb","followers_url":"https://api.github.com/users/garyb/followers","following_url":"https://api.github.com/users/garyb/following{/other_user}","gists_url":"https://api.github.com/users/garyb/gists{/gist_id}","starred_url":"https://api.github.com/users/garyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garyb/subscriptions","organizations_url":"https://api.github.com/users/garyb/orgs","repos_url":"https://api.github.com/users/garyb/repos","events_url":"https://api.github.com/users/garyb/events{/privacy}","received_events_url":"https://api.github.com/users/garyb/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T13:09:26Z","updated_at":"2015-07-16T13:09:26Z","body":"#202"}}