-
Notifications
You must be signed in to change notification settings - Fork 5
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
Three handy predicates to check classpath #70
Three handy predicates to check classpath #70
Conversation
You forgot import |
No, |
The import should be put in the quasiquote |
7d415e8
to
cc2639b
Compare
I don't know how to import in the quasiquote. I decide to evaluate it. Now, in macro, the two handy functions only accept String/Regex literals. And now, it only supports |
Thanks for the review! I will complete this PR tomorrow with three handy functions on the two existing macros:
|
Just like this
|
Cool, it works. I just tested it. Let me complete the PR now! |
@Atry Please review it again. This pr is complete now! |
Co-authored-by: Yang, Bo <[email protected]>
Co-authored-by: Yang, Bo <[email protected]>
@Atry Here is final handy func combos:
|
Looks good. Thank you! |
README preview: https://github.com/darcy-shen/enableIf.scala/tree/feature/enableWithClasspath2
The original idea of checking classpath in enableIf comes from @Renkai
closes #57