Skip to content

Commit

Permalink
fix function
Browse files Browse the repository at this point in the history
  • Loading branch information
kailuowang authored Dec 6, 2017
1 parent db35313 commit 7baba51
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/src/main/scala/cats/instances/function.scala
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ private[instances] sealed trait Function1Instances extends Function1Instances0 {
case (a, c) => (fa(a), c)
}

def id[A]: A => A = a => a

override def split[A, B, C, D](f: A => B, g: C => D): ((A, C)) => (B, D) = {
case (a, c) => (f(a), g(c))
}
Expand Down

0 comments on commit 7baba51

Please sign in to comment.