官术网_书友最值得收藏!

  • ReasonML Quick Start Guide
  • Raphael Rafatpanah Bruno Joseph D'mello
  • 114字
  • 2021-07-02 12:34:14

Interoperability

That being said, sometimes—and especially when first learning about type systems—you may be unsure as to how to get your code to compile. Reason, through BuckleScript, allows you to drop down to raw JavaScript when you need to, either via bindings or directly inside your Reason (.re) files. This gives you the freedom to figure things out as you go along in JavaScript, and then once you're ready, convert that section of the code to type-safe Reason.

BuckleScript also lets us bind to idiomatic JavaScript in a very reasonable way. As you'll learn in Chapter 4, BuckleScript, Belt, and Interoperability, BuckleScript is an incredibly powerful part of Reason.

主站蜘蛛池模板: 历史| 通州市| 齐河县| 威海市| 金门县| 绥德县| 岳西县| 凤庆县| 余姚市| 彰化市| 政和县| 汨罗市| 定日县| 亳州市| 邵阳县| 大姚县| 阳山县| 开阳县| 陕西省| 石嘴山市| 金门县| 江西省| 鹤峰县| 简阳市| 开阳县| 天台县| 南汇区| 阳泉市| 壶关县| 昌都县| 陆良县| 林甸县| 交口县| 富民县| 绥化市| 布尔津县| 青海省| 巴里| 腾冲县| 安图县| 安国市|