Skip to content
New issue

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

Customizable types in sqerl_gobots type specs #80

Open
seth opened this issue Aug 29, 2014 · 0 comments
Open

Customizable types in sqerl_gobots type specs #80

seth opened this issue Aug 29, 2014 · 0 comments

Comments

@seth
Copy link
Contributor

seth commented Aug 29, 2014

In the current implementation, we create type specs for the generated functions using a type alias for the record. Some consumers may wish to keep the record definition private and export an opaque type. This is not compatible with the current implementation as outside modules receiving the opaque type will not be able to use it with generated functions and meeting with approval from MR DIALYZER.

One idea is to allow a module to specify the type to use for the record. Or perhaps to simplify it, to specify that exporting the record type (as is now) or an opaque type for the record.

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

No branches or pull requests

1 participant