文章分类 - Scala
摘要:原文:http://www.scala-sbt.org/0.13/tutorial/zh-cn/index.htmlsbt 使用少数的几个概念来支撑它灵活并且强大的构建定义。其实没有太多的概念,但是 sbt 并不完全像其他的构建体系,而且如果你没有看过文档的话,你偶尔将会遇到一些细节问题。这篇入门指...
阅读全文
摘要:原文:http://docs.scala-lang.org/overviews/reflection/overview.htmlOverviewEXPERIMENTALHeather Miller, Eugene Burmako, Philipp HallerReflectionis the abi...
阅读全文
摘要:原文:http://www.artima.com/pins1ed/combinator-parsing.htmlChapter 31 of Programming in Scala, First EditionCombinator Parsingby Martin Odersky, Lex Spoo...
阅读全文
摘要:原文:http://hongjiang.info/monads-are-elephants-part1-chinese/翻译 monads-are-elephants 第一部分原文:http://james-iry.blogspot.com/2007/09/monads-are-elephants-...
阅读全文
摘要:原文:http://hongjiang.info/semigroup-and-monoid/半群(semigroup)与幺半群(monoid)google到数学里定义的群(group): G为非空集合,如果在G上定义的二元运算 *,满足(1)封闭性(Closure):对于任意a,b∈G,有a*b∈G...
阅读全文
摘要:原文:http://hongjiang.info/scala-diagnose-1/scala中很多看似花哨的语法表达,其实背后并不是语言级别的支持,都是些语法糖。当我们拿不准一些语句最终被翻译为什么,可以通过一些编译时参数来帮助我们分析。先看一下scalac编译过程的各个阶段(phases):$ ...
阅读全文
摘要:原文:http://blogs.atlassian.com/2013/09/scala-types-of-a-higher-kind/One of the more powerful features Scala has is the ability to generically abstract ...
阅读全文
摘要:原文:http://twitter.github.io/effectivescala/index-cn.htmlEffective ScalaMarius Eriksen, Twitter Inc.marius@twitter.com (@marius)[translated by hongjian...
阅读全文
摘要:原文:http://en.wikipedia.org/wiki/Scala_%28programming_language%29#cite_note-19Scala (programming language)From Wikipedia, the free encyclopediaScalaPar...
阅读全文
摘要:原文:http://docs.scala-lang.org/glossary/#partially-applied-functionalgebraic data typeA type defined by providing several alternatives, each of which c...
阅读全文
摘要:原文:http://docs.scala-lang.org/cheatsheets/?_ga=1.20991419.1421951300.1416994328variablesvar x = 5variableGOODval x = 5BADx=6constantvar x: Double = 5e...
阅读全文
摘要:原文:http://www.tutorialspoint.com/scala/scala_quick_guide.htmScala, short for Scalable Language, is a hybrid functional programming language. It was cr...
阅读全文
摘要:原文:http://docs.scala-lang.org/tutorials/FAQ/collections.htmlForewordThere’s a2.8 collection walk-throughby Martin Odersky which should probably be you...
阅读全文
摘要:原文:https://code.csdn.net/DOC_Scala/chinese_scala_offical_document/file/The-Architecture-of-Scala-Collections.md#anchor_0scala容器类体系结构(The Architecture ...
阅读全文
摘要:原文:https://code.csdn.net/DOC_Scala/chinese_scala_offical_document/file/Introduction.md#anchor_0简介(Introduction)Martin Odersky和Lex Spoon在许多人看来,新的集合框架是S...
阅读全文
摘要:原文:https://code.csdn.net/DOC_Scala/chinese_scala_offical_document/file/Futures-and-Promises-cn.md#anchor_0Future与Promise(Futures and Promises)Philipp ...
阅读全文
摘要:原文:http://www.scala-lang.org/files/archive/spec/2.11/08-pattern-matching.html#pattern-matching-anonymous-functions BlockExpr ::= `{' CaseClauses `}'A...
阅读全文
摘要:原文:https://code.csdn.net/DOC_Scala/chinese_scala_offical_document/file/Implicit-Classes%E4%B8%AD%E6%96%87%E7%89%88.md#anchor_0隐式类(Implicit Classes)Jos...
阅读全文
摘要:原文:https://code.csdn.net/DOC_Scala/chinese_scala_offical_document/file/String_Interpolation.md#anchor_0Josh Suereth简介自2.10.0版本开始,Scala提供了一种新的机制来根据数据生成...
阅读全文
摘要:原文:https://code.csdn.net/DOC_Scala/chinese_scala_offical_document/file/Value-Classes-and-Universal-Traits.md#anchor_0引言Value classes是在SIP-15中提出的一种通过继承...
阅读全文

浙公网安备 33010602011771号