All Projects → fpco → ghcjs-react

fpco / ghcjs-react

Licence: BSD-3-Clause license
React bindings for GHCJS

Programming Languages

javascript
184084 projects - #8 most used programming language
haskell
3896 projects

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].