/promise-example-bsb

Hello world using reason-promise

Primary LanguageReason

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.