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

Inferring variant types on packing #9

Open
luka-n opened this issue Sep 26, 2014 · 1 comment
Open

Inferring variant types on packing #9

luka-n opened this issue Sep 26, 2014 · 1 comment

Comments

@luka-n
Copy link
Contributor

luka-n commented Sep 26, 2014

I was thinking I should like the variant type to be inferred if not given as the first element of a two item list. But this would fail in case such a list is passed as a value, expecting the type to be inferred. Ideas?

@death
Copy link
Owner

death commented Oct 10, 2014

Can you not wrap it in some object which is currently without interpretation?
But I'm not sure automatic inference could work, given the ambiguity a value like 42 has...

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

2 participants