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 macro methods to ProcNotation & ProcLiteral #4485

Closed
bew opened this issue May 30, 2017 · 0 comments
Closed

Add macro methods to ProcNotation & ProcLiteral #4485

bew opened this issue May 30, 2017 · 0 comments

Comments

@bew
Copy link
Contributor

bew commented May 30, 2017

Currently there is no way to get information from macros about:

  • a ProcNotation: e.g. A, B -> C
  • a ProcLiteral: e.g. ->(a : A) { puts a }

I'm writing some helper macros that needs to specify some proc types, and it'll be way more plaisant to use the ProcNotation to write the type, instead of the normal Proc(..) type notation.

Note: I don't need macro methods on a ProcLiteral ATM, but I noticed there weren't any methods too, so I thought this was missing too.

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

1 participant