scala-2.8
How to write to a file in Scala?
For reading, there is the u开发者_如何转开发seful abstraction Source. How can I write lines to a text file?This is one of the features missing from standard Scala that I have found so useful that I ad[详细]
2023-02-02 20:14 分类:问答Scala, make my loop more functional
I\'m trying to reduce the extent to which I write Scala (2.8) like Java.Here\'s a simplification of a problem I came across.Can you suggest improvements on my solutions that are \"more functional\"?[详细]
2023-02-01 03:09 分类:问答Full documentation on Scala's XML support?
I\'m reading the preprint of the 2nd Ed of Programming in Scala, but as it says it \"only scratched the surface of what you can do with XML\".Are there any resourc开发者_开发技巧es for understanding t[详细]
2023-01-31 19:43 分类:问答Are there a good examples of using 'scala.swing'? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-01-31 17:25 分类:问答Scala pattern matching with lowercase variable name
I found that when using pattern matching with alternatives (for strings), Scala accepts variables starting with upper case (in the example below, MyValue1 and MyValue2), but not those starting with lo[详细]
2023-01-31 01:43 分类:问答Mixing Scala and Java files in an Eclipse project
I\'m probably doing something stupid, but I can\'t spot it. I\'ve installed Eclipse Helios (Helios be开发者_如何学JAVAcause I couldn\'t get Glassfish support to work correctly using Gallileo) and the[详细]
2023-01-30 22:03 分类:问答How to track the source line (location) of an XML element?
I assume that there is probably no satisfactory answer to this question, but I ask it anyway in case I missed something.[详细]
2023-01-30 09:51 分类:问答Looking for example of type class usage that will work in Scala 2.7.7 and 2.8 scripts
Hi I\'m looking for a quick example of type class usage in Scala that will work in both 2.7.7 and 2.8 environments.[详细]
2023-01-30 01:26 分类:问答how to give random values of 2-D array in scala?
how to giv开发者_运维知识库e random values of 2-D array in scalaThe fill method on the Array companion object makes this pretty simple.[详细]
2023-01-30 00:03 分类:问答How do I insert something at a specific position of a mutable LinkedList?
Again, this seems like something that should be obvious. I would like to insert an element into a linked list at a specific position.[详细]
2023-01-29 23:57 分类:问答