- 首先看下PartialFunction(偏函数)如何在Lift当中使用的,先看下NamedPF静态类的代码:NamedPF主要功能是在一个Seq[PartialFunction[A,B]]链表中找在F...
- 在Lift2.0当中,AnyVarTrait是一个非常重要的trait,很多重要的像RequestVar,SessionVar都是继续该接口的, 首先看下大致接口代码 AnyVarTrait继承了...
- 在命令行下切换到使用sbt新建的项目的根目录下,输入sbt 定义
- scalatra(http://www.sinatrarb.com/)是一个非常小的web框架,作者是看了一篇关于scala开发web的blog(http://www.riffraff.info/20...
- ASP.NET MVC: Do You Know Where Your TempData Is?I recently discovered that despite the fact that I&r...
- 使用jetty maven plugin,mvn jetty:run 启动应用。 在POM文件中,声明jetty plugin <plugin> <groupId>org.m...
- DotParser.scala: [代码]DotLexer.scala:[代码]And finally, an example of usage, together with the AST for ...
- Here are the main libraries of Scala that are part of the default distribution (in scala-library.jar...
- Scala的循环: [代码]这两种方式跟C#的循环大致类似Scala 迭代循环:[代码][代码][代码][代码]Scala Map(immutable):[代码][代码][代码]Array:[代码][...










