What the Functor? | Functors in Scala | Rock the JVM

Описание к видео What the Functor? | Functors in Scala | Rock the JVM

Written version: http://blog.rockthejvm.com/what-the-f...

Scala & Cats course: https://rockthejvm.com/p/cats

Links from the video:
Type classes:    • Why are Type Classes useful in Scala?...  
Scala 3 Given/Using:    • Given and Using Clauses in Scala 3 | ...  
Monads intro:    • A Monads Approach for Beginners, in S...  

This is a video primarily for Scala folks, but it transfers to other languages e.g. Java, TypeScript, C++ or other typed languages.

In this video we'll explore functors, a critical piece of abstract functional programming. Rather than explaining the theory behind it, we go through a concrete use-case of generalizing an API that would otherwise be terribly bloated and repeated. We show how functors work, how they represent the transferable concept of a "mappable" structure and how we can put them in practice and attach a functor to data structures which are mappable, but don't have a standard map method.

Follow Rock the JVM on:
LinkedIn:   / rockthejvm  
Twitter:   / rockthejvm  
Blog: https://rockthejvm.com/blog

-------------------------------------------------------------------------
Home: https://rockthejvm.com
-------------------------------------------------------------------------

Комментарии

Информация по комментариям в разработке