Skip to content

Commit

Permalink
Merge pull request #326 from nuttycom/topic/remove_functor_caret
Browse files Browse the repository at this point in the history
Removes the ambiguity-inducing ^ method from FunctorOps and FunctorSyntax
  • Loading branch information
larsrh committed Apr 8, 2013
2 parents b3fc7f9 + 35a3301 commit 086f644
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/src/main/scala/scalaz/syntax/FunctorSyntax.scala
Expand Up @@ -42,8 +42,6 @@ trait ToFunctorOps extends ToFunctorOps0 {
def lift(implicit F: Functor[F]) = F.lift(self)
}

def ^[F[_],A,B](fa: F[A])(f: A => B)(implicit F: Functor[F]) = F(fa)(f)

implicit def ToFunctorIdV[A](v: A) = new FunctorIdV[A] { def self = v }

trait FunctorIdV[A] extends Ops[A] {
Expand All @@ -61,7 +59,6 @@ trait FunctorSyntax[F[_]] {
implicit def ToLiftV[A, B](v: A => B): LiftV[A, B] = new LiftV[A, B] {
def self = v
}
def ^[A, B](fa: F[A])(f: A => B) = F(fa)(f)

trait LiftV[A,B] extends Ops[A => B] {
def lift = F.lift(self)
Expand Down

0 comments on commit 086f644

Please sign in to comment.