
scalaZ笔记
文章平均质量分 51
杨过悔
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
使用Writer进行数据筛选
val list:List[Containter] = List(Containter(true,"1"),Containter(false,"2"),Containter(true,"0"),Containter(false,"3"),Containter(true,"4")) 我们要做到将Containter(true,"1")的第一个参数为true的第二个参数拼接起来,结果就是104 之原创 2015-08-20 14:42:42 · 603 阅读 · 0 评论 -
使用Validation将错误串接
源码: sealed trait Validation[+E, +A] { /** Return `true` if this validation is success. */ def isSuccess: Boolean = this match { case Success(_) => true case Failure(_) => false } /** Return `tr原创 2015-08-20 16:21:20 · 405 阅读 · 0 评论 -
Introduction
http://labs.bench.co/blog/2014/11/10/scalaz-for-dummies Introduction Scalaz is one of those things that everyone is talking about, but many teams are unsure if they actually want to use it转载 2016-02-03 20:37:41 · 393 阅读 · 0 评论