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

Shallow types in machine so we can compile recursive data types. #154

Merged
merged 2 commits into from
Sep 29, 2022

Conversation

phischu
Copy link
Collaborator

@phischu phischu commented Sep 26, 2022

No description provided.

Copy link
Contributor

@marzipankaiser marzipankaiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would work for me. Seems OK for now.

@@ -212,7 +212,7 @@ object Transformer {
case lifted.BlockLit(params, body) =>
// TODO deal with evidence
val parameters = params.map(transform);
val variable = Variable(freshName("g"), Negative(List(parameters.map(_.tpe))))
val variable = Variable(freshName("g"), Negative("<function>"))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functions don't need to be structural?

@b-studios
Copy link
Collaborator

I will go ahead and merge, so that you can proceed. We can still redesign it when we merge #132

@b-studios b-studios merged commit 45f3f99 into master Sep 29, 2022
@b-studios b-studios deleted the feature/machine/untyped branch September 29, 2022 17:04
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

Successfully merging this pull request may close these issues.

None yet

3 participants