Hello world using reason-promise
Find a file
2019-12-24 00:33:52 +03:00
.gitignore .gitignore package-lock.json 2018-07-11 18:42:15 -05:00
bsconfig.json Update everything 2019-12-23 23:52:30 +03:00
main.re Simplify syntax 2019-12-24 00:33:52 +03:00
package.json Update everything 2019-12-23 23:52:30 +03:00
README.md Update everything 2019-12-23 23:52:30 +03:00

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.