Skip to content

Commit

Permalink
remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Nov 19, 2016
1 parent 188d28b commit ea105df
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 19 deletions.
1 change: 0 additions & 1 deletion concurrent/src/main/scala/scalaz/concurrent/Task.scala
Expand Up @@ -6,7 +6,6 @@ import java.util.concurrent.atomic.{AtomicBoolean, AtomicInteger}
import scalaz._
import scalaz.Tags.Parallel
import scalaz.syntax.monad._
import scalaz.std.list._
import scalaz.Free.Trampoline
import scalaz.\/._

Expand Down
2 changes: 0 additions & 2 deletions core/src/main/scala/scalaz/Isomorphism.scala
Expand Up @@ -272,8 +272,6 @@ trait IsomorphismApply[F[_], G[_]] extends Apply[F] with IsomorphismFunctor[F, G
trait IsomorphismAlign[F[_], G[_]] extends Align[F] with IsomorphismFunctor[F, G] {
implicit def G: Align[G]

import \&/._

override def alignWith[A, B, C](f: A \&/ B => C): (F[A], F[B]) => F[C] = {
case (fa, fb) => iso.from(G.alignWith(f)(iso.to(fa), iso.to(fb)))
}
Expand Down
3 changes: 0 additions & 3 deletions core/src/main/scala/scalaz/std/Either.scala
@@ -1,9 +1,6 @@
package scalaz
package std

import scalaz.Isomorphism._
import scalaz.Tags.{First, Last}

sealed trait EitherInstances0 {
implicit def eitherEqual[A, B](implicit A0: Equal[A], B0: Equal[B]): Equal[Either[A, B]] = new EitherEqual[A, B] {
implicit def A = A0
Expand Down
2 changes: 1 addition & 1 deletion effect/src/main/scala/scalaz/effect/Isomorphism.scala
@@ -1,7 +1,7 @@
package scalaz
package effect

import scalaz.{IsomorphismFunctor, IsomorphismMonad}
import scalaz.IsomorphismMonad
import scalaz.Isomorphism.{<~>, <=>}

//
Expand Down
1 change: 0 additions & 1 deletion tests/src/test/scala/scalaz/CoKleisliTest.scala
Expand Up @@ -2,7 +2,6 @@ package scalaz

import scalaz.scalacheck.ScalazProperties._
import scalaz.scalacheck.ScalazArbitrary._
import org.scalacheck.{Arbitrary, Gen}
import scalaz.std.option._

object CokleisliTest extends SpecLite {
Expand Down
1 change: 0 additions & 1 deletion tests/src/test/scala/scalaz/IListTest.scala
Expand Up @@ -3,7 +3,6 @@ package scalaz
import std.AllInstances._
import scalaz.scalacheck.ScalazProperties._
import scalaz.scalacheck.ScalazArbitrary._
import org.scalacheck.{Arbitrary, Gen}
import org.scalacheck.Prop.forAll
import syntax.bifunctor._, syntax.foldable._

Expand Down
5 changes: 1 addition & 4 deletions tests/src/test/scala/scalaz/IndexedContsTTest.scala
@@ -1,16 +1,13 @@
package scalaz

import org.scalacheck.{Arbitrary, Gen}
import scalaz.Id._
import org.scalacheck.Arbitrary
import scalaz.scalacheck.ScalazArbitrary._
import scalaz.scalacheck.ScalaCheckBinding._
import scalaz.scalacheck.ScalazProperties._
import scalaz.std.anyVal._

object IndexedContsTTest extends SpecLite {

type ContTMaybeBoolean[A] = ContT[Maybe, Boolean, A]
type ContTMaybeBooleanInt = ContTMaybeBoolean[Int]

private[this] implicit def contTEqual[F[_], A, B](implicit
A: Arbitrary[A => F[B]],
Expand Down
1 change: 0 additions & 1 deletion tests/src/test/scala/scalaz/KleisliTest.scala
Expand Up @@ -3,7 +3,6 @@ package scalaz
import std.AllInstances._
import scalaz.scalacheck.ScalazProperties._
import scalaz.scalacheck.ScalazArbitrary._
import org.scalacheck.{Gen, Arbitrary}
import org.scalacheck.Prop.forAll

object KleisliTest extends SpecLite {
Expand Down
1 change: 0 additions & 1 deletion tests/src/test/scala/scalaz/ReaderWriterStateTTest.scala
Expand Up @@ -3,7 +3,6 @@ package scalaz
import scalaz.scalacheck.ScalazProperties._
import scalaz.scalacheck.ScalazArbitrary._
import std.AllInstances._
import org.scalacheck.{Gen, Arbitrary}

object ReaderWriterStateTTest extends SpecLite {
type RWSOptInt[A] = RWST[Option, Int, Int, Int, A]
Expand Down
1 change: 0 additions & 1 deletion tests/src/test/scala/scalaz/StoreTTest.scala
@@ -1,6 +1,5 @@
package scalaz

import org.scalacheck.Cogen
import std.AllInstances._
import scalaz.scalacheck.ScalazProperties._
import scalaz.scalacheck.ScalazArbitrary._
Expand Down
2 changes: 0 additions & 2 deletions tests/src/test/scala/scalaz/std/EitherTest.scala
Expand Up @@ -3,8 +3,6 @@ package std

import std.AllInstances._
import scalaz.scalacheck.ScalazProperties._
import scalaz.scalacheck.ScalazArbitrary._
import Tags._

object EitherTest extends SpecLite {
checkAll("Either", order.laws[Either[Int, Int]])
Expand Down
1 change: 0 additions & 1 deletion tests/src/test/scala/scalaz/std/FunctionTest.scala
Expand Up @@ -5,7 +5,6 @@ import std.AllInstances._
import std.AllFunctions.fix
import scalaz.scalacheck.ScalazProperties._
import scalaz.scalacheck.ScalazArbitrary._
import org.scalacheck.Cogen
import org.scalacheck.Prop.forAll

object FunctionTest extends SpecLite {
Expand Down

0 comments on commit ea105df

Please sign in to comment.