Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
asycocaml
on June 12, 2023
|
parent
|
context
|
favorite
| on:
Melange 1.0: Compile OCaml / ReasonML to JavaScrip...
Can someone please expain the state of doing async with Melange? ReasonML never had an answer in that important area to my knowledge.
chrischen
on June 13, 2023
[–]
You can treat async stuff just like you would treat any other effect like Option or Result. And then let bindings (because Melange supports newer Ocaml) give you similar imperative looking code but not specific to async.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: