Functional Programming with Kotlin and Arrow Part 2: Categories and Functors

In this functional programming tutorial, you’ll learn what category theory is, see how to apply it to programming, and learn how to make use of Functors with Arrow. By Massimo Carli.

Leave a rating/review
Download materials
Save for later
Share
You are currently viewing page 4 of 4 of this article. Click here to view the first page.

Where to Go From Here?

In this tutorial, you created your own custom Maybe functor as well as a Maybe data type using the Arrow framework. You understood what a type constructor is and how Arrow abstracts it using Kind. Then you created an extension of the Functor typeclass.

You’ve done this after an important theoretical introduction to what a Category is, what its properties are and how a Functor fits into all of this.

With all that behind you, you’re still at the beginning of the journey into Functional Programming with Arrow.

In the next tutorial in this series, you’ll learn more about typeclasses using the Arrow framework.

We hope you enjoyed this tutorial, and if you have any questions or comments, please join the forum discussion below!