How do I define new types at runtime? I have a factory method that needs to create a new instance of this.type with a marker interface. The mark开发者_如何学Goer interface was not mixed in at compile
I am curious about List.updated. What is it\'s runtime? And how does it compare to just changing one element in an ArrayBuffer? In the background, how does it deal with copying all of the list? Is thi
I\'m attempting to process a large binary file with scala. If possible I\'d like to use a functional approach. My main method for this looks like this right now:
I\'m migrating an app from java to Scala. In java I have somethng like abstract class CommonObjectInfo{//...}
How can I validate a field in a vaadin table? For example the year field with a regex: val persons: BeanContainer[Int, Person] =
As it currently stands, this question is not a good fit for our Q&A format. We expect answe开发者_如何转开发rs to be supported by facts, references,or expertise, but this question will likely
I\'ve read a lot of interesting things about type kinds, higher-kinded types and so on. By default Haskell supports two sorts of kind:
I\'m having trouble access开发者_开发百科ing the fields of a scala object from java. Scala: object TestObject {
I need to write a program using the scala interpreter to run scala code on the fly. The interpreter must be able to run an infinite amount of code without being restarted. I know that each time the me
Word on the street is that for loops in scala are slower than while loops. Slow: for (i <- 0 until 10000) {