{"action":"created","issue":{"url":"https://api.github.com/repos/idris-lang/Idris-dev/issues/1845","labels_url":"https://api.github.com/repos/idris-lang/Idris-dev/issues/1845/labels{/name}","comments_url":"https://api.github.com/repos/idris-lang/Idris-dev/issues/1845/comments","events_url":"https://api.github.com/repos/idris-lang/Idris-dev/issues/1845/events","html_url":"https://github.com/idris-lang/Idris-dev/issues/1845","id":54026173,"number":1845,"title":":x getChar doesn't work","user":{"login":"TorosFanny","id":6369146,"avatar_url":"https://avatars.githubusercontent.com/u/6369146?v=3","gravatar_id":"","url":"https://api.github.com/users/TorosFanny","html_url":"https://github.com/TorosFanny","followers_url":"https://api.github.com/users/TorosFanny/followers","following_url":"https://api.github.com/users/TorosFanny/following{/other_user}","gists_url":"https://api.github.com/users/TorosFanny/gists{/gist_id}","starred_url":"https://api.github.com/users/TorosFanny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TorosFanny/subscriptions","organizations_url":"https://api.github.com/users/TorosFanny/orgs","repos_url":"https://api.github.com/users/TorosFanny/repos","events_url":"https://api.github.com/users/TorosFanny/events{/privacy}","received_events_url":"https://api.github.com/users/TorosFanny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-12T07:13:12Z","updated_at":"2015-01-12T08:03:53Z","closed_at":null,"body":"Here is what I got:\r\nIdris> :x getChar\r\nSymbol \"getchar\" not found\r\nINTERNAL ERROR: Could not call foreign function \"getchar\" with args [EBind Pi {binderTy = World, binderKind = Type} <<fn>>,FFun (\"getchar\") (Prelude.List.Nil (FTy)) (FIntT (ITNative)),w]\r\nThis is probably a bug, or a missing error message.\r\nPlease consider reporting at https://github.com/idris-lang/Idris-dev/issues\r\n\r\nBut getLine, putChar, etc all worked fine"},"comment":{"url":"https://api.github.com/repos/idris-lang/Idris-dev/issues/comments/69538273","html_url":"https://github.com/idris-lang/Idris-dev/issues/1845#issuecomment-69538273","issue_url":"https://api.github.com/repos/idris-lang/Idris-dev/issues/1845","id":69538273,"user":{"login":"david-christiansen","id":115330,"avatar_url":"https://avatars.githubusercontent.com/u/115330?v=3","gravatar_id":"","url":"https://api.github.com/users/david-christiansen","html_url":"https://github.com/david-christiansen","followers_url":"https://api.github.com/users/david-christiansen/followers","following_url":"https://api.github.com/users/david-christiansen/following{/other_user}","gists_url":"https://api.github.com/users/david-christiansen/gists{/gist_id}","starred_url":"https://api.github.com/users/david-christiansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-christiansen/subscriptions","organizations_url":"https://api.github.com/users/david-christiansen/orgs","repos_url":"https://api.github.com/users/david-christiansen/repos","events_url":"https://api.github.com/users/david-christiansen/events{/privacy}","received_events_url":"https://api.github.com/users/david-christiansen/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T08:03:53Z","updated_at":"2015-01-12T08:03:53Z","body":"The part of Idris that runs :x has to special-case some functions in the C RTS due to issues with 32-bit GHC and 64-bit Homebrew on OS X. I probably missed that one when implementing them."}}