Using GHCJS-DOM without webkitgtk

204 Views Asked by At

I have installed GHCJS and compiled a few "Hello, World" programs. Now I'd like to work with the DOM. Does anyone know if it is possible to install the ghcjs-dom package without webkitgtk? I'm having a lot of difficulty loading the webkitgtk package, and I really just want to work with the DOM at this point.

1

There are 1 best solutions below

0
On BEST ANSWER

To install ghcjs-dom for use with ghcjs use :

cabal install ghcjs-dom --ghcjs

This requires a version of cabal recent enough to include ghcjs support.