What Makes ReasonML Special?
With all these choices, why choose ReasonML? First, ReasonML is not a new language that compiles to JavaScript. Rather, it is a new syntax for OCaml, an established language used in industry for over 20 years. With ReasonML, you get OCaml’s strong static-type system with an excellent type inference engine as well as its features for functional programming with immutable variables.
For those times when you need to break away from the functional world, ReasonML allows “opt-in side-effect, mutation and object[s] for familiarity & interop[eration with JavaScript], while keeping the rest of the language pure, immutable and functional.”[7] ReasonML hits the sweet spot between the purely theoretical world and the laissez-faire ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access