Does ReasonML have equivalent F # evaluation expressions?

In F #, we have Computation Calculations that can reduce the boiler plate and nesting when working in various computing contexts (async, optionals and so on).

  • Does ReasonML have the equivalent of this?
  • If so, what is the syntax?
+4
source share
1 answer

By default nope; no calculations. The reason is another syntax that still shares all the semantics of OCaml, so this behavior is usually achieved using modules, functors, and composition.

, Reason OCaml ppx- , . .

ppx- , :

+3

Source: https://habr.com/ru/post/1695811/


All Articles