rescript-lang.org icon indicating copy to clipboard operation
rescript-lang.org copied to clipboard

Official documentation website for the ReScript programming language

Results 181 rescript-lang.org issues
Sort by recently updated
recently updated
newest added

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. ![image](https://user-images.githubusercontent.com/1121889/117434176-a402c980-af2c-11eb-855b-6a45a3093538.png)

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...

playground

``` let add = (aaaaaaa,b)=>aaaaaaa + b ``` If I hover over the pattern variable `aaaaaa`, it shows the type of the whole expression

playground

Currently bitwise operators are undocumented even though they are available in pervasives. Would be good to mention them somewhere so folks are aware.