Skip to content

Instantly share code, notes, and snippets.

@harmeetsingh0013
Created May 24, 2018 18:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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