|
|
|
|
|
by gavinray
1394 days ago
|
|
> You can actually compile ReasonML to native code with dune.
Yeah but the community doing native ReasonML is small and the maintenance has really petered off.With OCaml 5 looming you're better off just biting the bullet and writing OCaml if you're going to do it IMO. > What are some of the things that weird you out about OCaml's syntax?
For whatever reason, I really dislike the named-argument syntax -- and some of the operators make it hard to read compared to named alternatives IMO.Below examples showcases some of these: let variables = (json_variables :> (string * Graphql_parser.const_value) list)
~resolve:(fun info () ->
Lwt_result.ok (Lwt_unix.sleep duration >|= fun () -> duration)
)
|
|