Skip to content

fpco/ghcjs-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-ghcjs

React bindings for GHCJS

Compile examples

ghcjs -iexamples/ -isrc/ examples/Main.hs
cp examples/index.html examples/Main.jsexe/

Haddock

$ haddock React --optghc=-isrc -h

Alternate means of building

If you have trouble with cabal install --ghcjs, you may instead try:

$ rm -r dist/
$ ghcjs Setup.hs
$ node Setup.jsexe/all.js clean
$ node Setup.jsexe/all.js configure --user --ghcjs
$ node Setup.jsexe/all.js build
$ node Setup.jsexe/all.js copy
$ node Setup.jsexe/all.js register
$ node Setup.jsexe/all.js haddock

Releases

No releases published

Packages

No packages published