Daily scala
A short daily dose of scala examples and occasionally explanations.
Wednesday, September 26, 2012
Scala-IO Core: To Resource Converters
›
In order to simplify integration with existing libraries, most commonly Java libraries, Scala-IO provides a JavaConverters object with impli...
1 comment:
Wednesday, September 19, 2012
Scala-IO Core: Reusable Resources
›
One aspect of resources in Scala-IO that can cause problems is the construction of resource objects. The factory methods that are provided...
Thursday, September 13, 2012
Scala-IO Core: ReadChars and WriteChars
›
The Input and Output objects of Scala-IO assume that the underlying data is composed of bytes. However, another common pattern is to have t...
1 comment:
Thursday, August 30, 2012
On Vacation
›
I am getting a lot of emails about Scala-IO and my posts. Just want to let everyone know I am on vacation until September 10th or so. I ha...
Sunday, August 19, 2012
Scala-IO Core: Seekable
›
At the same level of abstraction as Input and Output is the fine trait called Seekable. As the name implies it provides random access style...
Tuesday, August 14, 2012
Scala-IO Core: Output - OutputConverter
›
As mentioned in the last post on Output, it is possible to write arbitrary objects to an output object and have it serialized to disk. Th...
6 comments:
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:
‹
›
Home
View web version