{"action":"created","issue":{"url":"https://api.github.com/repos/unicorn-engine/unicorn/issues/514","repository_url":"https://api.github.com/repos/unicorn-engine/unicorn","labels_url":"https://api.github.com/repos/unicorn-engine/unicorn/issues/514/labels{/name}","comments_url":"https://api.github.com/repos/unicorn-engine/unicorn/issues/514/comments","events_url":"https://api.github.com/repos/unicorn-engine/unicorn/issues/514/events","html_url":"https://github.com/unicorn-engine/unicorn/pull/514","id":146309227,"number":514,"title":"Haskell bindings","user":{"login":"adrianherrera","id":8626578,"avatar_url":"https://avatars.githubusercontent.com/u/8626578?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianherrera","html_url":"https://github.com/adrianherrera","followers_url":"https://api.github.com/users/adrianherrera/followers","following_url":"https://api.github.com/users/adrianherrera/following{/other_user}","gists_url":"https://api.github.com/users/adrianherrera/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianherrera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianherrera/subscriptions","organizations_url":"https://api.github.com/users/adrianherrera/orgs","repos_url":"https://api.github.com/users/adrianherrera/repos","events_url":"https://api.github.com/users/adrianherrera/events{/privacy}","received_events_url":"https://api.github.com/users/adrianherrera/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-04-06T13:10:59Z","updated_at":"2016-04-08T08:01:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/unicorn-engine/unicorn/pulls/514","html_url":"https://github.com/unicorn-engine/unicorn/pull/514","diff_url":"https://github.com/unicorn-engine/unicorn/pull/514.diff","patch_url":"https://github.com/unicorn-engine/unicorn/pull/514.patch"},"body":"These Haskell bindings make large use of c2hs to generate much of the Haskell code, so Unicorn's `const_generator.py` is not used.\r\n\r\nThe emulator is based on the Either monad transformer. The IO monad is used to run the underlying Unicorn library, while the Either monad is used to handle errors.\r\n\r\nInstructions on how to build the bindings are located in bindings/haskell/README.TXT. The same samples found in samples/ can be found in bindings/haskell/samples. They should produce the same output, with slight differences in their error handling and messaging."},"comment":{"url":"https://api.github.com/repos/unicorn-engine/unicorn/issues/comments/207291367","html_url":"https://github.com/unicorn-engine/unicorn/pull/514#issuecomment-207291367","issue_url":"https://api.github.com/repos/unicorn-engine/unicorn/issues/514","id":207291367,"user":{"login":"adrianherrera","id":8626578,"avatar_url":"https://avatars.githubusercontent.com/u/8626578?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianherrera","html_url":"https://github.com/adrianherrera","followers_url":"https://api.github.com/users/adrianherrera/followers","following_url":"https://api.github.com/users/adrianherrera/following{/other_user}","gists_url":"https://api.github.com/users/adrianherrera/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianherrera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianherrera/subscriptions","organizations_url":"https://api.github.com/users/adrianherrera/orgs","repos_url":"https://api.github.com/users/adrianherrera/repos","events_url":"https://api.github.com/users/adrianherrera/events{/privacy}","received_events_url":"https://api.github.com/users/adrianherrera/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T08:01:36Z","updated_at":"2016-04-08T08:01:36Z","body":"Updated Haskell README as requested.\r\n\r\nHowever, I do not get the `/tmp/unicorn_sample` error. Can you please give me the exact steps to reproduce? If you look at the Makefile's `all` target, there is no reference to `TMPDIR`, so I do not understand why this error would occur. "}}