scala 好scalaz介绍

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4863671/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-22 02:46:35  来源:igfitidea点击:

Good scalaz introduction

scalascalaz

提问by tenshi

Recently scalaz caught my eye. It looks very interesting, but I have not found any good introduction to the library. Seems that scalaz incorporates a lot of ideas from haskell and mathematics. Most articles that I found assume that you already feel comfortable with these concepts.

最近scalaz引起了我的注意。看起来很有趣,但是我还没有找到任何关于图书馆的好介绍。似乎 scalaz 融合了许多来自 Haskell 和数学的思想。我发现的大多数文章都假设您已经对这些概念感到满意。

What I'm looking for is gradual introduction to the library and underlying concepts - from simple and basic concepts to more advanced (which basesd in basics).

我正在寻找的是对库和基础概念的逐步介绍——从简单和基本的概念到更高级的(基于基础)。

I also looked to the examples, but it's hard for me to find the point where I should start to learn library.

我也看过例子,但我很难找到应该开始学习图书馆的点。

Can somebody recommend me some good scalaz introduction or tutorial (that covers basics and advanced concepts)? Or give me starting point in the answer.

有人可以向我推荐一些好的 scalaz 介绍或教程(涵盖基础知识和高级概念)吗?或者给我答案的起点。



Update

更新

Thanks everybody for the great answers! I summarized all of the answers and added some more links in my blog:

感谢大家的精彩回答!我总结了所有答案,并在我的博客中添加了更多链接:

https://github.com/OlegIlyenko/hacking-scala-blog/blob/master/posts/Scalaz-Resources-For-Beginners.md

https://github.com/OlegIlyenko/hacking-scala-blog/blob/master/posts/Scalaz-Resources-For-Beginners.md

And for those stuggling to find the API documentation for Scalaz they are here:

对于那些费力寻找 Scalaz 的 API 文档的人来说,他们在这里:

http://docs.typelevel.org/api/scalaz/nightly/index.html#package

http://docs.typelevel.org/api/scalaz/nightly/index.html#package

采纳答案by Vasil Remeniuk

Hieko Seebergerhas recently started bloggingon functional programming and category theory applied to Scala. Two opening posts are very educative (and easy to read), and can help getting over the initial barrier in learning scalaz.

Hieko Seeberger最近开始撰写有关应用于 Scala 的函数式编程和范畴论的博客。两个开头的帖子很有教育意义(并且易于阅读),可以帮助克服学习scalaz的最初障碍。

EDIT:When you get comfortable with the fundamentals, I would recommend you to read through http://apocalisp.wordpress.com/(blog driven by Runar Oliand Mark Harrah) and the weblog of Tony Morris

编辑:当您对基础知识感到满意时,我建议您通读http://apocalisp.wordpress.com/(由Runar OliMark Harrah驱动的博客)和Tony Morris 的博客

UPD:"Functors, Applicative Functors and Monoids"chapter of "Learn You a Haskell for Great Good!"has a lot of examples in Haskell with detailed explanations, which can easily be translated to Scala/scalaz.

UPD:“向你学习 Haskell 的大好!”的“函子、应用函子和幺半群”一章Haskell中有很多例子,有详细的解释,可以很容易的翻译成Scala/scalaz。

回答by Eugene Yokota

I wrote a series of posts on my blogon this topic, and then compiled it together:

我在我的博客上写了一系列关于这个主题的帖子,然后一起编译:

回答by Don Mackenzie

There are also some video resources I have seen presenting scalaz at an introductory level,

我还看到一些介绍 scalaz 的视频资源,

They are both given by contributors to scalaz and introduce the contents and concepts illustrated by evolving a series of code examples. The audiences for both these talks were Scala enthusiast groups.

它们均由 scalaz 的贡献者提供,并介绍了通过演化一系列代码示例来说明的内容和概念。这两场演讲的听众都是 Scala 爱好者团体。

回答by Ilya Klyuchnikov

I have found this notes interesting:

我发现这个笔记很有趣:

http://debasishg.blogspot.com/search/label/scalaz

http://debasishg.blogspot.com/search/label/scalaz

回答by VonC

Not tested myself, but maybe this Scalaz Guidecan help, initially written in November 2010 (and/or can be contributed to, since it is no longer maintained since mid-2012).

我没有测试过,但也许这个Scalaz 指南可以提供帮助,最初写于 2010 年 11 月(和/或可以贡献,因为它自 2012 年年中以来不再维护)。

回答by missingfaktor

A couple more resources.

还有一些资源。

回答by Matthew Farwell

Chris Marshall recently did a talk at LSUG/Skills Matter on Practical Scalaz: Making Your Life Easier the hard way.

Chris Marshall 最近在 LSUG/Skills Matter 上做了一个关于实用 Scalaz:让你的生活更轻松的演讲。