Open
Description
Proposals:
- Only names that are planned to exist in a future Scala release can be outside of a
next
(sub-)package. Names that will not exist in a future Scala release MUST be in anext
(sub-)package.
a. Corollary: Extension methods MUST go innext
(sub-)packages.
b. Possible extension: All names that are planned to exist in a future Scala release MUST be outside ofnext
(sub-)packages. - Extension method value classes SHOULD be named
Next<Name>Extensions
, where<Name>
is the name of the type.
a. For example, extension methods forLazyList
would go in value class namedNextLazyListExtensions
.
b. Extension method value classes for an object that is a companion SHOULD be namedNext<Name>CompanionExtensions
.
c. Extension method value classes for general collection types (e.g.Map
,Set
) should have have a prefix to<Name>
that is the first letter of each package segment (e.g.NextSCISetExtensions
forscala.collection.immutable.Set
)
Something something RFC 2119