Daily scala

A short daily dose of scala examples and occasionally explanations.

Wednesday, August 8, 2012

Scala-IO Core: Output

›
The Output object is the primary trait for writing data to a resource. The basic usage is very simple but can get more complex when one wis...
5 comments:
Monday, August 6, 2012

Scala-IO Core: Long Traversable

›
The LongTraversable trait is one of the most important objects in Scala IO. Input provides a uniform way of creating views on the data (as ...
1 comment:
Thursday, August 2, 2012

Scala-IO Core: Resource, Input

›
Just a note: all these examples have been tested in REPL so go ahead and fire up the sbt console in the example project and try these out. ...
1 comment:
Friday, July 27, 2012

Scala-IO Getting Started

›
For the next several posts you will need to have Scala-IO installed and probably should have a sbt project as well. There are currently 2 ...
1 comment:
Thursday, July 26, 2012

Introducing Scala-IO

›
This is the start of a series of posts on Scala-IO.  Scala-IO is as the name implies a library for performing input and output operations w...
12 comments:
Thursday, May 27, 2010

zipWithIndex

›
A common desire is to have access to the index of an element when using collection methods like foreach, filter, foldLeft/Right, etc... For...
8 comments:
Wednesday, May 26, 2010

Return value of a block

›
A common misunderstanding is that a code block (without parameters) is a function. That is not the case. A code block is a sequence of sta...
6 comments:
‹
›
Home
View web version

About Me

Unknown
View my complete profile
Powered by Blogger.