just like e.g. https://github.com/scala/scala-xml/pull/242 and https://github.com/scala/scala-parser-combinators/pull/184