Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

How do you writing bindings today?

$
0
0

For the specific case I’d write it this way:

module SomeLib = {
  @module("xx") @scope("default")
  external exec: unit => int = "exec"
}

SomeLib.exec()

Viewing all articles
Browse latest Browse all 2592

Trending Articles