The document discusses Twitter4J, a Java library for accessing the Twitter API. It notes that Twitter4J allows 100 requests per hour to the Twitter API, while Twitter4S, its Scala equivalent, allows 500 requests per hour by making 5 requests in parallel for each call. The rest of the document lists various Scala libraries and tools related to building Scala applications that interact with services like Twitter, databases, caches, and message queues.
The document discusses Twitter4J, a Java library for accessing the Twitter API. It notes that Twitter4J allows 100 requests per hour to the Twitter API, while Twitter4S, its Scala equivalent, allows 500 requests per hour by making 5 requests in parallel for each call. The rest of the document lists various Scala libraries and tools related to building Scala applications that interact with services like Twitter, databases, caches, and message queues.
This document discusses macros in the Nemerle programming language. It provides an overview of the different types of macros in Nemerle, including lexical level macros, AST level macros, and custom attribute macros. AST level macros allow transforming AST nodes similar to Lisp macros. Custom attribute macros enable global rewriting of a program at compile time. Examples demonstrate using macros for tasks like solving mazes at compile time and custom syntax like json data literals.
54. import scalaz._
import Scalaz._
var i = 1
i < 3 ∧ i > 0 true
i < 1 ∨ i == 1 true
i == 1 when { i+= 1 }
(i < 3).guard[List](1)
i != 2 unless { i+= 1 }
...
108. val list = List(1,2,3)
val zipper = list.toZipper.get.tryNext
val updated = zipper.insert(10).insert(20)
updated.toStream.toList // List(1,2,10,20,3)