Predicates
Predicates copied to clipboard
Annotation macros
I created branch macros
to which I will be creating next PR's related to reimplementation of Predicates using macros. This PR is mostly for code sharing and discussion - it just reimplements Predicate1
using macro annotation.
@wheaties please take a look, I am really interested what you think about such approach. I slightly changed an API in 3 places - will add a github comments in those lines in a minute.
This reduces a lot of boilerplate. You intend to have the macro essentially generate all the variants, a la boilerplate.scala?
:+1:
Yeah, I want to have macro generating all variants of Predicate
s.
I should add, that if we ever want to get to that 2.10 cross build (yes, I know, I've been terrible about it) while also introducing macros, we should consider adding macro-compat from Miles Sabin.