Skip to content

Variants: Expand section about coercion #731

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

Closed
fhammerschmidt opened this issue Oct 22, 2023 · 0 comments
Closed

Variants: Expand section about coercion #731

fhammerschmidt opened this issue Oct 22, 2023 · 0 comments
Assignees
Milestone

Comments

@fhammerschmidt
Copy link
Member

Expand the variant coercion section with:

  • Coercing between variants (and the constraints around that)
  • Why you can sometimes coerce from variant to string/int/float, and how to think about that (runtime representation must match)
  • The last additions of allowing coercing strings to unboxed variants with catch-all string cases
@fhammerschmidt fhammerschmidt added this to the v11.0 milestone Oct 22, 2023
@zth zth mentioned this issue Oct 25, 2023
@zth zth mentioned this issue Nov 2, 2023
@zth zth closed this as completed Nov 2, 2023
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