joelburget / react-haskell

React bindings for Haskell
MIT License
351 stars 26 forks source link

Failed to install #26

Open elliotstokes opened 8 years ago

elliotstokes commented 8 years ago

Im just trying out ghcjs and came across these react bindings. When I install via cabal though I get the following error

[ 1 of 15] Compiling React.GHCJS      ( src/React/GHCJS.hs, dist/dist-sandbox-ce49f728/build/React/GHCJS.js_o )

src/React/GHCJS.hs:52:28:
    Module
    ‘GHCJS.DOM.Document’
    does not export
    ‘documentGetElementById’
cabal: Error: some packages failed to install:
ghcjs-dom-hello-2.0.0.0 depends on react-haskell-2.0.1 which failed to
install.

Am I missing something - I might be wrong but it looks like the function got renamed to getElementById?

Cheers