ReasonML is a strongly typed functional language which compiles to both Javascript and native.
Elevate your ReasonML skills through 32 curated exercises across 0 core concepts. Master problem-solving with a structured learning path designed for modern developers.
Reason is a syntax and toolchain geared towards Javascript programmers, based on the functional language OCaml
Being statically typed, it is likely to be safer than Javascript, but has powerful type inference which means type annotations do not get in your way.
The Exercism exercises will compile directly to JS, but Reason can be compiled via the OCaml toolchain to native code, IoS, Android, and even microcontrollers
OCaml's type system
ReasonML brings OCaml's battle-tested powerful type system to Javascript.
Inferred types
No need to specify types, types are inferred by the compiler and are guaranteed to be correct.
Functional Programming
Like OCaml, ReasonML is a functional programming language with pattern matching, variants and more.
Easy javascript interop
JavaScript interop is easy allowing advatange of existing javascript packages and ecosystem.
Fast compiler
ReasonML compilation times are super fast which means fast iteration cycles.
Refactor with ease
Compiler guides you through all places that need to be fixed during refactor until it just works.
OCaml's type system
ReasonML brings OCaml's battle-tested powerful type system to Javascript.
Inferred types
No need to specify types, types are inferred by the compiler and are guaranteed to be correct.
Functional Programming
Like OCaml, ReasonML is a functional programming language with pattern matching, variants and more.
Easy javascript interop
JavaScript interop is easy allowing advatange of existing javascript packages and ecosystem.
Fast compiler
ReasonML compilation times are super fast which means fast iteration cycles.
Refactor with ease
Compiler guides you through all places that need to be fixed during refactor until it just works.