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

›Recent Posts

Recent Posts

  • ReasonConf Videos & Reason 3.3.2!
  • Reason 3.2.0!
  • Try Page Now Has Built-in ReasonReact Support
  • Reason 3.1.0 Released
  • Reason Forum Now Open!

Reason 3.1.0 Released

March 6, 2018

Special shout-out to this version, as it fixes many bugs and comes with some long awaited features. As always, the changes are in HISTORY.md. Special highlights:

  • New pipe sugar allows inserting argument at arbitrary position: [1, 2, 3] |> map(_, a => a + 1) |> keep(_, a => a === 2). Basically ES2030.
  • Tired of seeing [@bs] foo(bar, baz) for uncurrying? Use the new version to refmt your code to automatically format it into foo(. bar, baz)!
  • Trailing comma for everything, final function body item now formats to a trailing semicolon, let%foo extension sugar, fixes for comments, JSX, etc.

Get the new version through reason-cli and through BuckleScript's bs-platform 2.2.2. Have fun!

Recent Posts