We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using Marshal.to_string the following warning occurs:
Marshal.to_string
82 | let marshal (d : declaration) = Marshal.to_string d [] ^^^^^^^^^^^^^^^^^^^^^^ Warning 106 [bucklescript-unimplemented-primitive]: Unimplemented primitive used:caml_output_value_to_string
and gets compiled to
import * as Caml_external_polyfill from "melange/lib/es6/caml_external_polyfill.js"; function marshal(d) { return Caml_external_polyfill.resolve("caml_output_value_to_string")(d, /* [] */0); }
Marshal.from_string seems to not generate the warning and compiles to
Marshal.from_string
import * as Marshal from "melange/lib/es6/marshal.js"; function unmarshal(s) { return Marshal.from_string(s, 0); }
The text was updated successfully, but these errors were encountered:
Afaik, Marshal module is not supported in Melange.
Marshal
Sorry, something went wrong.
Marshal is indeed not supported. Tracking this in #715.
No branches or pull requests
When using
Marshal.to_string
the following warning occurs:and gets compiled to
Marshal.from_string
seems to not generate the warning and compiles toThe text was updated successfully, but these errors were encountered: