Tooling in Reason is kept as basic and simplistic as possible. This is done by Merlin – Reason’s solution to editor integration that provides awesome support for type information, auto completion and general linting. When working with Merlin, you’ll require a
Verdict: Quick and straight to the point. Tools get out of your way and let you focus on what’s more important – actually writing code. However the lack of alternatives to choose from could also prove to be detrimental sometimes.
Verdict: It’s got a robust and vibrant community where you can get all the resources you need.
ReasonML’s ecosystem is still young but growing. Most of the information gotten on it is derived from OCaml due to the fact that it is written in that language. Reason’s two forefront libraries right now are BuckleScript and ReasonReact – a library that leverages the features of Reason and combines them with React.
Although over 50% of Facebook Messenger is written in Reason, there’s still much work to be done. The Reason team just released version 3.2.0 which includes features like whitespace tuning, semicolon relaxation and unicode string printing. Other sources of information on the Reason ecosystem include:
Reason’s documentation is well written and concise, so is OCaml’s, which complements Reason’s documentation.
Verdict: Still young thus it’s ideal for small and medium sized projects. Companies that want to migrate a large codebase might need to “wait it out” for a while.
xyou pulled out of a dictionary, the
ywas the result of calling
foo(23). Is it safe to call
x(y)? Types provide an automated, precise answer to this question.
Exploring ES6 by Dr. Axel Rauschmayer
Exploring ReasonML and functional programming by Dr. Axel Rauschmayer