ostera
February 23, 2022, 7:19pm
1
Hello folks, long time no see
I’ve been writing Practical ReScript , a blog where I’ve been exploring different aspects of ReScript. Here’s some of the free content:
This is a companion blog for my upcoming book, which you can pre-order here
Just thought some of you may enjoy this – I’ve got more content on the pipeline including:
More honest comparisons with other languages (like Elm, ClojureScript, PureScript, etc)
More explorations of ReScript on Deno (including interop with Rust code)
And of course, more use-cases coming straight from shipping great software with ReScript
Hope you like it and feel free to spread the word elsewhere
/ Leandro
26 Likes
ostera
July 31, 2023, 11:21am
2
Hi folks! It’s been a while new drop on Practical ReScript
This is the first part of the entire chapter on understanding the type system for the ReScript book I never finished – so I figured i’d just share some of this for free rather than see it bitrot in an old repo.
Enjoy and let me know what you think
11 Likes
Looks really cool! I tried to pre-order but it doesn’t seem to work?
1 Like
In one of your blog, I see
$ ./demo hello --name=joe -v
{ _: [ "hello" ], name: "joe", v: true }
Is there a way for Deno to run the compiled code of ReScript right away? I am not aware of such things (I’m beginner). Maybe you could show it how?
ostera
July 31, 2023, 2:02pm
5
Yes, if you look closely here are running the binary compiled by deno, but you can also call deno run ./main.js
and it should just execute the compiled ReScript code.
1 Like
fham
July 31, 2023, 6:26pm
6
If you want deno to execute after every save, run both the rescript watcher and the deno watcher, e.g.:
Terminal 1:
npm run "rescript build -w"
Terminal 2:
deno run --watch ./main.js
2 Likes
ostera
August 16, 2023, 1:00pm
8
Another post showing some of the patterns for writing large projects that we used at Walnut:
15 Likes