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
See https://github.com/o1-labs/ocaml-gen/blob/main/ocaml-gen/derive/src/lib.rs#L214
For instance:
#[derive(ocaml::IntoValue, ocaml::FromValue, ocaml_gen::Struct)] pub struct CamlRuntimeTableSpec { pub id: i32, pub len: usize } #[derive(ocaml::IntoValue, ocaml::FromValue, ocaml_gen::Enum)] pub enum CamlRuntimeTableCfg<CamlF> { Indexed(CamlRuntimeTableSpec), Custom { id: i32, first_column: Vec<CamlF> } }
will give:
| 128 | #[derive(ocaml::IntoValue, ocaml::FromValue, ocaml_gen::Enum)] | ^^^^^^^^^^^^^^^ | = help: message: named types not implemented
The text was updated successfully, but these errors were encountered:
No branches or pull requests
See https://github.com/o1-labs/ocaml-gen/blob/main/ocaml-gen/derive/src/lib.rs#L214
For instance:
will give:
The text was updated successfully, but these errors were encountered: