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

How to unify with a struct containing an embedded scalar value #181

Open
jpluscplusm opened this issue Oct 3, 2024 · 0 comments
Open

How to unify with a struct containing an embedded scalar value #181

jpluscplusm opened this issue Oct 3, 2024 · 0 comments
Labels
concept guide For content that in the "explanation" diataxis quadrant content idea Idea for a new piece of content howto For content that in the "howto" diataxis quadrant

Comments

@jpluscplusm
Copy link
Collaborator

Demonstrate and/or explain the following, including motivations for when one might want to do this:

This doesn't work:

x: {
  #x: int
  #x
}

y: x & {
  #x: 5
}

y needs an extra top/_ for successful evaluation:

x: {
  #x: int
  #x
}

y: x & {
  #x: 5
  _
}
@jpluscplusm jpluscplusm added content idea Idea for a new piece of content howto For content that in the "howto" diataxis quadrant concept guide For content that in the "explanation" diataxis quadrant labels Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
concept guide For content that in the "explanation" diataxis quadrant content idea Idea for a new piece of content howto For content that in the "howto" diataxis quadrant
Projects
Status: Backlog
Development

No branches or pull requests

1 participant