Reason
  • Docs
  • Try
  • API
  • Community
  • Blog
  • Languages icon中文
    • 日本語
    • English
    • Deutsch
    • Español
    • Français
    • 한국어
    • Português (Brasil)
    • Русский
    • Українська
    • 繁體中文
    • 帮助翻译
  • GitHub

›Extra

Intro

  • What & Why

Setup

  • Installation
  • Editor Plugins

Language Basics

  • Overview
  • Let Bindings
  • Primitives
  • Basic Structures
  • Types
  • Records
  • Variants
  • Options and nullability
  • Functions
  • Recursion
  • Destructuring
  • Pattern Matching
  • Mutable Bindings
  • Loops
  • Modules

Advanced Features

  • JSX
  • External
  • Exception
  • Object

JavaScript

  • Interop
  • Syntax Cheatsheet
  • Pipe First
  • Promise
  • Libraries
  • Converting from JS

Extra

  • Frequently Asked Questions
  • Extra Goodies
Translate

Extra Goodies

浏览器扩展: Reason-tools

Reason-tools 允许你在浏览以任一语法编写的教程和文档时,在 OCaml 语法和 Reason 语法之间快速切换。

交互式解释器 (REPL)

https://sketch.sh/

re:bench

re:bench 是一个在线 benchmark 平台。 它支持 Reason、OCaml 和 JavaScript 编写的测试用例,并允许通过唯一 url 共享结果。 它使用 BuckleScript 编译到 JS。

Redex

Redex: Reason 包管理仓库。

← Frequently Asked Questions
  • 浏览器扩展: Reason-tools
  • 交互式解释器 (REPL)
  • re:bench
  • Redex