Scala with Cats

Scala with Cats

简介:

本书的主要目标是使用现代函数式编程技术教授系统架构和设计。这意味着将系统设计为小型可组合单元,通过类型系统表达约束和交互,并使用组合以保持原始架构愿景的方式指导大型系统的构建。

这本书还介绍了猫图书馆。我们使用猫的抽象,我们解释猫的结构,所以你可以在自己的代码库中使用它而不用担心。广泛的想法并不特定于猫,但猫提供了一个很好的实现,有利于自己学习。

了解如何使用类型类表达抽象。学习以下关键类型类: 函子、Monoid、Applicative和Monad。了解如何应用类型类来解决跨多个领域的实际问题。

要从本书中受益,您应该具有大约一年的Scala经验,或者具有Haskell,O'Caml或Lisp等函数式语言的同等经验。

英文简介:

The main goal of this book is to teach system architecture and design using the techniques of modern functional programming. This means designing systems as small composable units, expressing constraints and interactions via the type system, and using composition to guide the construction of large systems in a way that maintains the original architectural vision.

The book also serves as an introduction to the Cats library. We use abstractions from Cats, and we explain the structure of Cats so you can use it without fear in your own code base. The broad ideas are not specific to Cats, but Cats provides an excellent implementation that is beneficial to learn in its own right.

Understand how to express abstractions using type classes.Learn the key type classes of: Functor, Monoid, Applicative, and Monad.Understand how to apply type classes to solve practical problems across a variety of domains.

To benefit from this book you should have about a year's experience with Scala, or equivalent experience with a functional language such as Haskell, O'Caml, or Lisp.

书名
Scala with Cats
译名
Scala 与猫
语言
英语
年份
2014
页数
325页
大小
4.46 MB
标签
  • Scala
  • 下载
    pdf iconScala with Cats.pdf
    密码
    65536

    最后更新:2025-04-12 23:57:59

    ←Learning Kotlin

    →Scala By Example