Here's how you can use >>>
and <<<
Example:
Here's how you can use >>>
and <<<
Example:
scala> import cats.implicits._ scala> val f : Int => Int = (_ + 1) scala> val g : Int => Int = (_ * 100) scala> (f >>> g)(3) res0: Int = 400 scala> (f <<< g)(3) res1: Int = 301
Must obey the laws defined in cats.laws.CategoryLaws.