Closed DavidGregory084 closed 9 years ago
@DavidGregory084 - I don't think we should do this. Semantically SeqExtractor contains a Seq of Extractors. This matches the original signature whereas the varargs version obscures the meaning
SeqExtractor
and all the other Extractor
s are implementation details that users should not ever have to create themselves. Users will be using ExtractorSyntax
in order to create them. SeqExtractor
is available within the varargs extract macro - extract[List[String]](...)
Therefore I don't think this change will help people using the library and as it makes the definition less clear it's not worth doing
This makes SeqExtractor slightly easier to use in most cases, but still allows