Type Safety
ReasonML offers strong type inference and static type checking, which helps catch errors at compile time rather than at runtime, leading to more reliable code.
Compiled to Efficient JavaScript
ReasonML can compile to highly efficient JavaScript through the BuckleScript backend, allowing developers to build performant web applications.
Interoperability
ReasonML is designed to interoperate smoothly with JavaScript, which means you can incorporate it into existing JavaScript codebases without major restructuring.
OCaml Ecosystem
ReasonML is built on top of the OCaml language, allowing developers to leverage the robust OCaml ecosystem, tools, and libraries.
Familiar Syntax
ReasonML provides a syntax that is more familiar and approachable to JavaScript developers, making it easier to adopt and learn.
Promote ReasonML. You can add any of these badges on your website.
ReasonML is particularly well-regarded for its ability to bring the power of OCaml to the JavaScript ecosystem, making it good for developers who need strong type safety and functional programming paradigms. It is well-suited for those who appreciate type inference and immutability.
We have collected here some useful links to help you find out if ReasonML is good.
Check the traffic stats of ReasonML on SimilarWeb. The key metrics to look for are: monthly visits, average visit duration, pages per visit, and traffic by country. Moreoever, check the traffic sources. For example "Direct" traffic is a good sign.
Check the "Domain Rating" of ReasonML on Ahrefs. The domain rating is a measure of the strength of a website's backlink profile on a scale from 0 to 100. It shows the strength of ReasonML's backlink profile compared to the other websites. In most cases a domain rating of 60+ is considered good and 70+ is considered very good.
Check the "Domain Authority" of ReasonML on MOZ. A website's domain authority (DA) is a search engine ranking score that predicts how well a website will rank on search engine result pages (SERPs). It is based on a 100-point logarithmic scale, with higher scores corresponding to a greater likelihood of ranking. This is another useful metric to check if a website is good.
The latest comments about ReasonML on Reddit. This can help you find out how popualr the product is and what people think about it.
Reason (https://reasonml.github.io/) is the JS like syntax for OCaml. - Source: Hacker News / 10 months ago
OCaml and Haskell already have that nice type system (and even more nice). If OCaml's syntax bothers you, there is Reason [1] which is a different frontend to the same compiler suite. Also in this space is Gleam [2] which targets Erlang / OTP, if high concurrency and fault tolerance is your cup of tea. [1]: https://reasonml.github.io/ [2]: https://gleam.run/. - Source: Hacker News / over 1 year ago
> The syntax is also not very friendly IMO. Very true. There's an alternate syntax for OCaml called "ReasonML" that looks much more, uh, reasonable: https://reasonml.github.io/. - Source: Hacker News / over 1 year ago
When I see this it makes me want to run for ReasonML/ReScript/Elm/PureScript. Sum types (without payloads on the instances they are effectively enums) should not require a evening filling ceremonial dance event to define. https://reasonml.github.io/ https://rescript-lang.org/ https://elm-lang.org/ https://www.purescript.org/ (any I forgot?) It's nice that TS is a strict super set of JS... But that's about the only... - Source: Hacker News / over 1 year ago
Https://ocaml.org/docs/toplevel-introduction#loading-libraries-in-utop https://reasonml.github.io/ looks cool, OCaml with javascript. - Source: Hacker News / over 1 year ago
Fortunately, the OCaml compiler is very modular, and there have been efforts to make things more... reasonable. - Reason, a different syntactic frontend for regular OCaml: https://reasonml.github.io/ - ReScript, a language with OCaml semantics that compiles into: JS https://rescript-lang.org/ (I suppose it's a reincarnation of js-of-ocaml). - Source: Hacker News / over 1 year ago
OCaml makes so much sense to me -- it's just a shame that the syntax has some weird decisions. I wish ReasonML (https://reasonml.github.io/) would come back -- it's a new syntax for the same language, kind of an Elixir/Erlang thing. - Source: Hacker News / about 2 years ago
Ocaml is still a wonderful language if you want to look into it, and Reason is still going strong as an alternate syntax for OCaml. With either OCaml or Reason you can compile to native code, or use the continuation of BuckleScript now called Melange. - Source: dev.to / about 2 years ago
Hey HN, at Ahrefs we have been working on an online book that hopefully helps React developers get up and running with Melange, an OCaml to JavaScript compiler. You can read more about Melange here: https://melange.re/. There are still a few chapters that we'd like to add before considering it "complete", but it might be already helpful for some folks out there, that's why we decided to publish it early. The book... - Source: Hacker News / over 2 years ago
ReScript is "Fast, Simple, Fully Typed JavaScript from the Future". What that means is that ReScript has a lightning fast compiler, an easy to learn JS like syntax, strong static types, with amazing features like pattern matching and variant types. Until 2020 it was called "BuckleScript" and is closely related to ReasonML. - Source: dev.to / over 2 years ago
- ReasonML - https://reasonml.github.io/ - essentially ocaml with nicer syntax. - Source: Hacker News / over 2 years ago
This tracks with how I've seen "normal" languages converge on similar, flawed imitations of better type systems through tools and repurposed syntax. Thank you for confirming. Do you have any recommendations or warnings regarding general languages which reach in the opposite direction? Reason[1] and F#[2] are both examples: they attach pre-existing ecosystems and compile-for-$PLATFORM tools to OCaml-like typing.... - Source: Hacker News / almost 3 years ago
Why not use https://reasonml.github.io/ instead? Or just use Typescript? Source: about 3 years ago
ReasonML and ReScript are a (more or less the same) new syntax on top of OCaml. ReScript only targets JS, while ReasonML targets both JS and the native archs OCaml supports. Facebook and Bloomberg are using ReScript internally, afaik. Messenger.com is written in it. Facebook also maintains React bindings to ReScript. https://rescript-lang.org/ https://reasonml.github.io/. - Source: Hacker News / about 3 years ago
There is also reasonml for Web development. Source: over 3 years ago
OCaml is probably the closest in performance, but the language is so idiosyncratic they had to invent a wrapper around the entire language https://reasonml.github.io/. Source: over 3 years ago
IT's a META project based/fork of ReasonML (https://reasonml.github.io/). They are ocalm dialects thats compile to Javascript. Advantage vs Typescript is a strict type system. - Source: Hacker News / almost 4 years ago
Sounds like you are mostly frontend. I can highly recommend ReScript https://rescript-lang.org/ I learned a lot about functional programming from it. It is a more frontend focussed https://reasonml.github.io/ which is all based on OCaml. It has the same awesome type system and all the FP goodies while providing easy TS/JS interop and convenient escape hatches. It compiles (very fast) to highly efficient readable... - Source: Hacker News / almost 4 years ago
Reason may be the nearest thing to what you are asking for: It is essentially OCaml, but it trades the traditional ML syntax for a JavaScript-inspired (aka C-like) syntax. Source: almost 4 years ago
Reason ML comes from folk in facebook who work with react too. It's mostly inspired by functional programming language OCaml. So you can actually do it properly. And let everyone else keep their opinions to themselves. Including your own objections. Source: about 4 years ago
I have been trying for a long while now to work with ReasonML files in VSCode and get some syntax highlighting. This has been a problem since ReasonML on the frontend has moved on to Rescript. The solution would be using Melange but I could not get the editor highlighting to work. I have a bunch of old ReasonML projects that I still refer to so losing the editor support has been less than ideal. The code still... - Source: dev.to / about 4 years ago
Do you know an article comparing ReasonML to other products?
Suggest a link to a post with product alternatives.
Is ReasonML good? This is an informative page that will help you find out. Moreover, you can review and discuss ReasonML here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.