scala-2.8
Using Scala to cut up a large CSV file
What\'s the best way to do file IO in Scala 2.8? All I want to do is cut a massive CSV file into lots of smaller ones with, say 1000 lines of data per file, 开发者_Python百科and each file retaining t[详细]
2023-01-14 09:38 分类:问答Nested trait in class constructor in scala
I\'m playing around with scala (scala 2.8).Suppose I have a class with a nested trait, and want to use that nested trait as the type for a parameter in the class\'s constructor.Is that even possible?T[详细]
2023-01-14 01:45 分类:问答In a multidimensional sequence created with tabulate, is the innermost seq the 1. dimension?
As the title says, when creating a multidimensional sequence in scala with tabulate, is the innermost or outermost sequence the 1. dimension?[详细]
2023-01-13 16:09 分类:问答Scala Annotation List?
I wanted to ask if there is a list of annotations for Scala 2.8.0? I stumbled upon @inline and @specialized but it would be nice if there is a complete list which also explains what they do exactly.[详细]
2023-01-13 00:04 分类:问答+= appends to stack in Scala 2.7.7; :+ does not seem to work in Scala 2.8.0
Using Scala 2.7.7, this works as ex开发者_高级运维pected: import scala.collection.mutable.Stack[详细]
2023-01-12 01:26 分类:问答Proxies / delegates in Scala
I\'ve seen several Scala questions recently (e.g. here, here, and here) that called for the use of proxies, and it\'s come up more than once in my own work.The Scala library has a number of proxy trai[详细]
2023-01-11 14:53 分类:问答Package objects
What are package objects, not so much the concept but their usage? I\'ve tried to get an example working and the only form I got to work was as follows:[详细]
2023-01-10 15:07 分类:问答A problem of implicit conversions in scala 2.8
I want to write a implicit conversion of Tuple2[A,B] to Seq[C] where C is super type of both A and B.[详细]
2023-01-10 02:26 分类:问答Confusion with a simple Scala packaging example
I\'ve been experiencing confusion over packaging classes in Scala and importing packages. Let me start with a pair of simple source files:[详细]
2023-01-09 09:48 分类:问答RemoteActor.select - result deterministic?
I wonder if there is any determinism when calling val delegate = RemoteActor.select(). I\'m asking this, because I noticed that the program doesn\'t terminate, when I\'m sending delegates over the net[详细]
2023-01-08 19:27 分类:问答