Skip to content

Commit

Permalink
improve andThen doc
Browse files Browse the repository at this point in the history
  • Loading branch information
nasadorian committed Feb 3, 2019
1 parent d0aa961 commit 512f15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/cats/data/Kleisli.scala
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ final case class Kleisli[F[_], A, B](run: A => F[B]) { self =>

/**
* Tip to tail Kleisli arrow composition.
* Creates a function `A => F[C]` from an `A => F[B]` and `B => F[C]`.
* Creates a function `A => F[C]` from [[run]] (`A => F[B]`) and the given Kleisli of `B => F[C]`.
* {{{
* scala> import cats.data.Kleisli, cats.implicits._
* scala> val takeHead = Kleisli[Option, List[Int], Int](_.headOption)
Expand Down

0 comments on commit 512f15f

Please sign in to comment.