Skip to content

Instantly share code, notes, and snippets.

@harmeetsingh0013
Created May 24, 2018 18:44
Show Gist options
  • Save harmeetsingh0013/c4b67589a79e3416e6f88c26d8d2ef9b to your computer and use it in GitHub Desktop.
Save harmeetsingh0013/c4b67589a79e3416e6f88c26d8d2ef9b to your computer and use it in GitHub Desktop.
import cats.Functor
import cats.instances.list._
val ints = List(1, 2, 3, 4, 5)
Functor[List].map(ints)(_.toString)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment