Skip to content

Add quote pattern bindings in patterns #6274

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

Conversation

nicolasstucki
Copy link
Contributor

No description provided.

Introduces `Binding[T]` which can be used to match a check is an `Expr` is a reference to some
other binding defined in scope.

```scala
  case '{ val $x: Int = ($body: Int) } => // where x: Binding[Int]
  case '{ ($x: Int) => ($body: Int) } => // where x: Binding[Int]
  case Binding(b) => // where b: Binding[Int]
```
Make Bindings Any-kinded and convert PolyTypes to HKTypes as part of (toFunctionType)
@nicolasstucki nicolasstucki force-pushed the add-quote-pattern-bindings-in-patterns branch from 169bde6 to ff9070a Compare April 16, 2019 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant