Syntax Lookup

Enter some language construct you want to know more about.
This is the @inline decorator.

The @inline decorator tells the compiler to inline its value in every place the binding is being used, rather than use a variable.

Example

ReScriptJS Output
module Colors = {
  @inline
  let green = "green"

  @inline
  let red = "red"
}

let allowedColors = [Colors.green, Colors.red]

References