Update documentation

This commit is contained in:
yamadapc 2016-06-22 17:25:35 -03:00
parent 1fd7bc3bd6
commit 0ac4dd4c69

View File

@ -40,6 +40,7 @@ Main(({wrapped}) => { // <- This callback is executed after the RTS is loaded
## [`ghcjs-commonjs`](/ghcjs-commonjs)
The Haskell side of things for exposing code to `ghcjs-require`.
### Exposing Haskell to JavaScript
This is `Main.hs`:
```haskell
import Control.Concurrent (threadDelay)