In this repo I am learning ReScript one commit at a time. While I am tweeting about it in parallel :).
 
 
Go to file
Wolfram Kriesing ece1797aa6 Extend convert() and the helloWorld type to use some more destructuring in the pattern matching in convert().
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.
2021-05-25 12:50:50 +02:00
src Extend convert() and the helloWorld type to use some more destructuring in the pattern matching in convert(). 2021-05-25 12:50:50 +02:00
.gitignore Basic rescript setup done, see blog for docs if you care. 2021-05-22 19:58:00 +02:00
.merlin Basic rescript setup done, see blog for docs if you care. 2021-05-22 19:58:00 +02:00
Dockerfile A nodejs setup, in a docker container. 2021-05-22 19:55:58 +02:00
README.md And run the container in the bg, so the shell opens ... sorry. 2021-05-23 13:31:46 +02:00
bsconfig.json Seems this repo has nothing to do with jskatas yet. 2021-05-23 13:10:25 +02:00
docker-compose.yml Seems this repo has nothing to do with jskatas yet. 2021-05-23 13:10:25 +02:00
package-lock.json Seems this repo has nothing to do with jskatas yet. 2021-05-23 13:10:25 +02:00
package.json A basic README. 2021-05-23 13:21:53 +02:00

README.md

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?

  • run 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 install to install all dependencies this project needs
  • npm start to compile and run the code
  • next you might want to go and play around with hello.res