haskellghcghcjsghcjs-dom

Using GHCJS-DOM without webkitgtk


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.


Solution

  • 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.