mirror of
https://github.com/beijaflor-io/ghcjs-commonjs.git
synced 2024-08-17 03:50:37 +03:00
Update documentation
This commit is contained in:
parent
1fd7bc3bd6
commit
0ac4dd4c69
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user