09 2010 档案

摘要:原文地址: http://oldfashionedsoftware.com/2009/07/10/scala-code-review-foldleft-and-foldright/ 阅读全文
posted @ 2010-09-26 17:01 evilyzou 阅读(1103) 评论(0) 推荐(0)
摘要:Circumflex 官方网址: http://circumflex.ru/index.html 阅读全文
posted @ 2010-09-10 09:45 evilyzou 阅读(253) 评论(0) 推荐(0)
摘要:Scala中有Left,Right两个类,继承于Either,主要用途是表示两个可能不同的类型(它们之间没有交集),Left主要是表示Failure,Right表示有,跟Some类型有点类似,看下下面的代码: 大概意思是发生异常就使用pattern matching返回异常具体使用: 阅读全文
posted @ 2010-09-05 15:11 evilyzou 阅读(3972) 评论(0) 推荐(0)