I’m trying to build a tauri app and initially I was using typescript but coming from ocaml and other fp languages I can’t go back to typescript.
Every attempt at creating records and sum types always ends up with me introducing null or undefined which doesn’t look right to me.
Nor is it convenient even with EffectTS.
Is there a quick way to do this in 2024/25.
I wad trying to follow older template
Modifying stuff like bsconfig.json
to rescript.json
Any pointers would be helpful, thanks!