I am trying to get my hands on Rescript but I got really confused regarding the language features so far, especially regarding types related syntax.
So here are the specific questions I got.
Does OCaml features and constructions works in Rescript? If yes, what is the latest version of OCaml I can use?
I am not able to find any docs related to defining and working with types. I.e. How to define product/coproduct,? Working with generics, recursive data structures etc…
I would really appreciate if someone would point me to some docs on the matter.
OCaml features / constructions / syntax work in ReScript, with some exceptions, e.g. ReScript is in the process of switching off OCaml’s OOP functionality (inheritance, etc.). Objects will still continue to work however. Aside from that, ReScript is based on OCaml 4.06.