Scala+with+Cats-Underscore+Consulng(2017).pdf

时间:2021-03-18 15:30:58
【文件属性】:

文件名称:Scala+with+Cats-Underscore+Consulng(2017).pdf

文件大小:4.46MB

文件格式:PDF

更新时间:2021-03-18 15:30:58

Scala

The aims of this book are two-fold: to introduce monads, functors, and other funcঞonal programming pa‚erns as a way to structure program design, and to explain how these concepts are implemented inCats. Monads, and related concepts, are the funcঞonal programming equivalent of object-oriented design pa‚erns—architectural building blocks that turn up over and over again in code. They differ from object-oriented pa‚erns in two main ways: •they are formally, and thus precisely, defined; and •they are extremely (extremely) general. This generality means they can be difficult to understand.Everyonefinds ab- stracঞon difficult. However, it is generality that allows concepts like monads to be applied in such a wide variety of situaঞons. In this book we aim to show the concepts in a number of different ways, to help you build a mental model of how they work and where they are appropriate. We have extended case studies, a simple graphical notaঞon, many smaller ex- amples, and of course the mathemaঞcal definiঞons. Between them we hope you’ll find something that works for you. Ok, let’s get started!


网友评论

  • 很棒的资源 谢谢