Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aantron/promise-example-bsb
Hello world using reason-promise
https://github.com/aantron/promise-example-bsb
demo promise rescript
Last synced: 5 days ago
JSON representation
Hello world using reason-promise
- Host: GitHub
- URL: https://github.com/aantron/promise-example-bsb
- Owner: aantron
- Created: 2018-03-31T21:01:33.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-12-23T21:34:35.000Z (about 5 years ago)
- Last Synced: 2025-01-20T17:55:17.869Z (6 days ago)
- Topics: demo, promise, rescript
- Language: Reason
- Homepage: https://github.com/aantron/promise
- Size: 6.84 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# reason-promise example: Hello, world!
To try [reason-promise][repromise], 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 { }
Promise { 'Hello' }
Hello world!
```See [`main.re`][main] for the code.
[repromise]: https://github.com/aantron/promise
[main]: https://github.com/aantron/promise-example-bsb/blob/master/main.re