scala-2.9
Using Scala's ObservableMap
I\'m trying to use scala.collection.mutable.ObservableMap. I grabbed the snippet below from scala-user and copied it to the REPL.[详细]
2023-03-18 04:52 分类:问答Is this a bug in scala 2.9.0.1 actor library
The following code works fine in Scala 2.8 but not in 2.9.0.1 (copy and paste in REPL). This will throw an exception in 2.9.0.1.[详细]
2023-03-11 05:31 分类:问答Why is this not faster using parallel collections?
I just want开发者_开发技巧ed to test the parallel collections a bit and I used the following line of code (in REPL):[详细]
2023-03-08 12:16 分类:问答How do I replace the fork join pool for a Scala 2.9 parallel collection?
I\'ve been looking at the new Scala 2.9 parallel collections and am hoping to abandon a whole lot of my crufty amateur versions of similar things. In particular, I\'d like to replace the fork join poo[详细]
2023-03-06 20:45 分类:问答How does one implement a Hadoop Mapper in Scala 2.9.0?
When I migrated to Scala 2.9.0 from 2.8.1, all of the code was functional except for the Hadoop mappers.Because I had some wrapper objects in the way, I distilled down to the following example:[详细]
2023-03-06 16:22 分类:问答How can I override Iterable.flatMap in Scala 2.9.0?
I\'m just updating some of my code to 2.9.0, and I\'ve run into a problem. I have a trait that I call \"NonStrictIterable\" (essentially, everything should be as lazy as possible --- no code outside N[详细]
2023-03-05 07:05 分类:问答Dynamic Proxy using Scalas new Dynamic Type
Is it possible to create an AOP like interceptor using Scalas new Dynamic Type feature? For example: Would it be possible开发者_如何学编程 to create a generic stopwatch interceptor thatcould be mixed[详细]
2023-02-15 03:41 分类:问答How do I use nightly builds of Scala 2.9 with maven?
Recently I wanted to try some of the new features in Scala 2.9 in a small project. I would like to use maven for building it. How can I tell Maven to use the latest nightly build of Scala 2.9? If some[详细]
2023-02-09 05:29 分类:问答CSS - Page wont scroll
Having some problems, cant get the page to scroll or get scrollbar to appear. But it will scroll when middle mouse button is clicked.[详细]
2022-12-30 01:26 分类:问答display all available named scopes of a model in Ruby on Rails
Especially when you are using Searchlogic. It is kind开发者_如何学编程a hard for me to guess what named scope to use to achieve what I need.You can get all defined named scopes for a model, using[详细]
2022-12-29 23:49 分类:问答
加载中,请稍侯......