rescript-lang.org
rescript-lang.org copied to clipboard
Official documentation website for the ReScript programming language
The documentation for JSX describes a syntax transform with an `@JSX` attribute/decorator. The documentation for attributes/decorators, however, describes only a built-in set of what must be compiler directives? Your description...
On the https://rescript-lang.org/docs/manual/latest/migrate-from-bucklescript-reason page it says to use npx rescript convert -all to upgrade all files to rescript from reason but the -all flag does not exist and throws an...
see https://github.com/rescript-lang/syntax/issues/421
There is a compiler error thrown when using `@meth` decorator. ``` This expression has type Js_OO.Meth.arity1 bool> It is not a function. ``` `Rescript version: 9.1.2` But the code compiles...
As a ReScript novice, it's tough right now searching for resources and seeing them written in ReasonML or OCaml syntax. Reading these resources takes extra cognitive effort because I'm not...
Api docs don't use the right version toggle. 
Following example breaks the highlighter at `#"best fit"` ``` @obj external dateTimeFormatOptions: ( ~localeMatcher: [#"best fit" | #lookup]=?, ~formatMatcher: [@as("best fit") #bestFit | #basic]=?, ~timeZone: string=?, ~hour12: bool=?, ~weekday: [#narrow...
``` let add = (aaaaaaa,b)=>aaaaaaa + b ``` If I hover over the pattern variable `aaaaaa`, it shows the type of the whole expression
Currently bitwise operators are undocumented even though they are available in pervasives. Would be good to mention them somewhere so folks are aware.