Hello world using reason-promise
- Reason 100%
| .gitignore | ||
| bsconfig.json | ||
| main.re | ||
| package.json | ||
| README.md | ||
reason-promise example: Hello, world!
To try reason-promise, clone this repo...
git clone https://github.com/aantron/promise-example-bsb.git
cd promise-example-bsb
and do:
npm install
npm run test
This will print
Promise { <pending> }
Promise { 'Hello' }
Hello world!
See main.re for the code.