Proposed levels of skill for the scala programming language, can be used as a base for a curriculum
Related links:
- the scala style guide.
- a scala basic exam
- examples of scala abuses
- sample training curriculum Artima
//Trait that bridges between slick and Play2-auth. Just mixin with controllers | |
trait Auth2SlickBridge { | |
self: StackableController => | |
def AuthAction[A](p: BodyParser[A], params: AttributeKey[_]*)(f: RequestWithAttributes[A] => Action[A]): Action[A] = { | |
AsyncStack(p, params:_*) { implicit rs => | |
f(rs).apply(rs) | |
} | |
} |
object Entities { | |
case class Review(txt: String, userId: Long, id: Long) | |
case class User(name: String, id: Long) | |
case class ReviewEvent(event: String, reviewId: Long) | |
case class FullReview(r: Review, user: User, evts: Seq[ReviewEvent]) | |
} |
package utils | |
/** | |
* @author Bunyod Bobojonov ([email protected]). Created at 6/1/16. | |
*/ | |
object Pagination { | |
def main(args: Array[String]): Unit = { | |
println("Hello World from main function!") | |
var evens = "" |
Proposed levels of skill for the scala programming language, can be used as a base for a curriculum
Related links:
Both are tools tool to manage and configure Git hooks. These tools don’t allow you to push if in your code something is not satisfactory with your configuration file. Configuration files: