bucklescript.github.io
bucklescript.github.io copied to clipboard
BuckleScript's documentation site
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.17.1 to 1.21.0. Release notes Sourced from prismjs's releases. v1.21.0 Release 1.21.0 v1.20.0 Release 1.20.0 v1.19.0 Release 1.19.0 v1.18.0 Release 1.18.0 Changelog Sourced from prismjs's changelog. 1.21.0...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19. Release notes Sourced from lodash's releases. 4.17.16 Commits d7fbc52 Bump to v4.17.19 2e1c0f2 Add npm-package 1b6c282 Bump to v4.17.18 a370ac8 Bump to v4.17.17 1144918...
I tried this ```re Js.log(Sys.argv); Js.log(Sys.max_array_length); Js.log(Sys.max_string_length); ``` (compiled to) ```js // Generated by BUCKLESCRIPT VERSION 3.1.5, PLEASE EDIT WITH CARE 'use strict'; var Sys = require("bs-platform/lib/js/sys.js"); console.log(Sys.argv); console.log(Sys.max_array_length); console.log(Sys.max_string_length);...
Bucklescript has name mangling rules (as explained in [`genType`'s documentation](https://github.com/cristianoc/genType/tree/91e6c498bee5b77ef4743c104fa474f8d7bf07b8#renaming-gentypeas-and-object-mangling-convention)) which are not explained at all in the official documentation. Can we add them? I can make a PR if...
https://github.com/BuckleScript/bucklescript.github.io/blob/source/docs/object.md Please, it was rather difficult to google how to access a field of an object that is not yet created.
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...