Skip to content
This repository has been archived by the owner on Aug 10, 2020. It is now read-only.

Doc change to make FFI bindings easier to learn #63

Open
desmond-dsouza opened this issue Jul 7, 2018 · 0 comments
Open

Doc change to make FFI bindings easier to learn #63

desmond-dsouza opened this issue Jul 7, 2018 · 0 comments

Comments

@desmond-dsouza
Copy link

desmond-dsouza commented Jul 7, 2018

Currently the FFI docs do not show the generated Javascript, which leaves the reader guessing and makes bindings more difficult to learn. It would help if each FFI binding construct consistently had:

  • bs / reason syntax including usage of the binding
  • corresponding generated or equivalent javascript

(you might even put the generated js first, since that is the reader's initial intent)

Example borrowed from Glennsl's cheatsheet

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant