Is there a standard set of imports for Arrow that ...
# arrow
b
Is there a standard set of imports for Arrow that gets me (roughly) everything, kind of analogous to Scala cats:
Copy code
import cats._
import cats.data._
import cats.implicits._
import cats.syntax._
import cats.effect._
?
r
Not with the current version of Arrow but for the April refactoring we are doing with meta most imports disappear since extensions of type classes are projected over members from the global coherent proofs without need for imports. You can of course emulate now similar to cats depending on what you are using but you most likely will run into ambiguous symbols, one of the reasons why we plan on removing the global functions derived from instances in favour of just syntax over the data types.
Copy code
import arrow.*
import arrow.core.*
import arrow.fx.*
import <http://arrow.fx.extensions.io|arrow.fx.extensions.io>.applicative.*
import <http://arrow.fx.extensions.io|arrow.fx.extensions.io>.async.*
import <http://arrow.fx.extensions.io|arrow.fx.extensions.io>.concurrent.*
import <http://arrow.fx.extensions.io|arrow.fx.extensions.io>.concurrent.*
import <http://arrow.fx.extensions.io|arrow.fx.extensions.io>.dispatchers.*
import <http://arrow.fx.extensions.io|arrow.fx.extensions.io>.functor.*
import <http://arrow.fx.extensions.io|arrow.fx.extensions.io>.monad.*