Syntax Lookup

Enter some language construct you want to know more about.
This is a function.

Functions are declared with arguments in parentheses, an arrow, and a return expression.

Example

ReScriptJS Output
let greet = (name: string) => {
  "Hello " ++ name
}

References