You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Interesting, I have to explicitly say the "1" is of type "WorldCount()", so it fits in the type. I am not sure if this is only the case beacuse it is used in the variant type helloWorld.
|4 months ago|
|src||4 months ago|
|.gitignore||4 months ago|
|.merlin||4 months ago|
|Dockerfile||4 months ago|
|README.md||4 months ago|
|bsconfig.json||4 months ago|
|docker-compose.yml||4 months ago|
|package-lock.json||4 months ago|
|package.json||4 months ago|
Learning ReScript - Commit by Commit
Learn ReScript - https://rescript-lang.org!
I am also blogging about this here: https://picostitch.com/tag/rescript/
How to Use This Repo?
docker compose up -d && docker compose exec node bash
which will create, start and enter a docker container with nodejs inside,
you can skip this step if you are running nodejs locally
npm installto install all dependencies this project needs
npm startto compile and run the code
- next you might want to go and play around with hello.res