Do any of you know why examples from Scalaz always use this import technique:
import scalaz._
import Scalaz._
rather than:
import scalaz.Scalaz._
? I'm trying to understand what the reasoning behind the preference is.
Thanks!
I believe it's because import scalaz._; import Scalaz._
imports all members from the scalaz
package and from the scalaz.Scalaz
object.
If you will just import import scalaz.Scalaz._
, then you only import members from the scalaz.Scalaz
object.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With