-
Notifications
You must be signed in to change notification settings - Fork 158
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
Some form of über-import to access standard functions in single line #184
Comments
I think it would make sense if the über-import would include everything in the |
Maybe it can be divided into several über-imports, classified according to use.
|
One step in this direction has been made in #433 which is now available in 0.9.0. So to import all predicates we can now To import all of the standard functionality of the library we are now down to five imports: import eu.timepit.refined._
import eu.timepit.refined.api.Refined
import eu.timepit.refined.auto._
import eu.timepit.refined.predicates.all._
import eu.timepit.refined.types.all._ My long-term goal is to shrink that further to maybe two or three imports. |
Some people (myself among them) prefer the simplicity of a blanket import to enable standard functionality, along the lines of
import scalaz._; import Scalaz._
.As well as convenience and accessibility for newcomers ("just make it work"!), the other reason Ive come to appreciate them is I like to detect name clashes between libs I use early.
The text was updated successfully, but these errors were encountered: