{"action":"created","issue":{"url":"https://api.github.com/repos/ghcjs/ghcjs-dom/issues/18","labels_url":"https://api.github.com/repos/ghcjs/ghcjs-dom/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/ghcjs/ghcjs-dom/issues/18/comments","events_url":"https://api.github.com/repos/ghcjs/ghcjs-dom/issues/18/events","html_url":"https://github.com/ghcjs/ghcjs-dom/issues/18","id":106188090,"number":18,"title":"Module ‘GHCJS.Types’ does not export ‘castRef’","user":{"login":"Mikolaj","id":281893,"avatar_url":"https://avatars.githubusercontent.com/u/281893?v=3","gravatar_id":"","url":"https://api.github.com/users/Mikolaj","html_url":"https://github.com/Mikolaj","followers_url":"https://api.github.com/users/Mikolaj/followers","following_url":"https://api.github.com/users/Mikolaj/following{/other_user}","gists_url":"https://api.github.com/users/Mikolaj/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikolaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikolaj/subscriptions","organizations_url":"https://api.github.com/users/Mikolaj/orgs","repos_url":"https://api.github.com/users/Mikolaj/repos","events_url":"https://api.github.com/users/Mikolaj/events{/privacy}","received_events_url":"https://api.github.com/users/Mikolaj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-12T22:22:44Z","updated_at":"2015-09-15T17:37:09Z","closed_at":null,"body":"I've installed GHCJS according to https://github.com/ghcjs/ghcjs/tree/master#quick-start, which involves improved-base (version 0.2.0.0), and I'm getting\r\n\r\n```\r\nBuilding ghcjs-dom-0.2.1.0...\r\nPreprocessing library ghcjs-dom-0.2.1.0...\r\n[   1 of 1042] Compiling GHCJS.DOM.JSFFI.RTCPeerConnectionError ( src/GHCJS/DOM/JSFFI/RTCPeerConnectionError.hs, dist/build/GHCJS/DOM/JSFFI/RTCPeerConnectionError.js_o )\r\n[   2 of 1042] Compiling GHCJS.DOM.Types  ( src/GHCJS/DOM/Types.hs, dist/build/GHCJS/DOM/Types.js_o )\r\n\r\nsrc/GHCJS/DOM/Types.hs:860:32:\r\n    Module ‘GHCJS.Types’ does not export ‘castRef’\r\n```\r\n\r\nAnd indeed DOM/Types.hs requires castRef and improved-base doesn't have it. Plenty of other packages installs fine, though I also have this problem:\r\n\r\n```\r\nBuilding jsaddle-0.2.1.0...\r\nPreprocessing library jsaddle-0.2.1.0...\r\n[ 1 of 12] Compiling Language.Javascript.JSaddle.Types ( src/Language/Javascript/JSaddle/Types.hs, dist/build/Language/Javascript/JSaddle/Types.js_o )\r\n\r\nsrc/Language/Javascript/JSaddle/Types.hs:41:22:\r\n    Not in scope: type constructor or class ‘JSArray’\r\n```"},"comment":{"url":"https://api.github.com/repos/ghcjs/ghcjs-dom/issues/comments/140476238","html_url":"https://github.com/ghcjs/ghcjs-dom/issues/18#issuecomment-140476238","issue_url":"https://api.github.com/repos/ghcjs/ghcjs-dom/issues/18","id":140476238,"user":{"login":"luite","id":354096,"avatar_url":"https://avatars.githubusercontent.com/u/354096?v=3","gravatar_id":"","url":"https://api.github.com/users/luite","html_url":"https://github.com/luite","followers_url":"https://api.github.com/users/luite/followers","following_url":"https://api.github.com/users/luite/following{/other_user}","gists_url":"https://api.github.com/users/luite/gists{/gist_id}","starred_url":"https://api.github.com/users/luite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luite/subscriptions","organizations_url":"https://api.github.com/users/luite/orgs","repos_url":"https://api.github.com/users/luite/repos","events_url":"https://api.github.com/users/luite/events{/privacy}","received_events_url":"https://api.github.com/users/luite/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T17:37:09Z","updated_at":"2015-09-15T17:37:09Z","body":"it must still be updated to improved-base i suspect"}}