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

Add with-unknown-type #71

Merged
merged 1 commit into from
May 6, 2020
Merged

Add with-unknown-type #71

merged 1 commit into from
May 6, 2020

Conversation

david-christiansen
Copy link
Collaborator

This is half of #60. See that issue for a description of the new operator.

Copy link
Collaborator

@langston-barrett langston-barrett left a comment

Choose a reason for hiding this comment

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

Love the small PR 😄

| EPrimTypeMacro (SplitTypePtr -> Syntax -> Expand ()) (TypePatternPtr -> Syntax -> Expand ())
-- ^ For type-level special forms - first as types, then as type patterns
| EPrimModuleMacro (Syntax -> Expand ())
| EPrimDeclMacro (DeclTreePtr -> DeclOutputScopesPtr -> Syntax -> Expand ())
| EPrimPatternMacro (Either (Ty, Ty, PatternPtr) (Ty, TypePatternPtr) -> Syntax -> Expand ())
| EPrimUniversalMacro (MacroDest -> Syntax -> Expand ())
Copy link
Collaborator

Choose a reason for hiding this comment

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

What is a "universal" macro?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Universal in the sense that it works in any syntactic context, be it expression, type, decl, etc.

Copy link
Collaborator

Choose a reason for hiding this comment

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

What is its meaning in a pattern context? Looks like an error? And in a declaration context? What about a module context? (Not trying to be annoying, just trying to understand 😄)

@david-christiansen
Copy link
Collaborator Author

david-christiansen commented May 6, 2020 via email

@david-christiansen david-christiansen merged commit 44f0826 into master May 6, 2020
@langston-barrett langston-barrett deleted the any-type branch August 26, 2020 00:01
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.

2 participants