Skip to content

Update README #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 12, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 3 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,37 +25,9 @@ class Test {

### Converters between `scala.concurrent` and `java.util.concurrent`

[API](src/test/java/scala/compat/java8/FutureConverters.java)
[API](src/main/java/scala/compat/java8/FutureConverters.java)
[Test Cases](src/test/java/scala/compat/java8/FutureConvertersTest.java)

### Converters for `java.util.function`

TODO

### Converters for `java.util.stream`

TODO

### Hacking

[Code Generator](project/CodeGen.scala)

#### Running Examples

```
% (export JAVA_HOME=`java_home 1.8`; export PATH=$JAVA_HOME/bin:$PATH; sbt test)
```

### Future work

- Augment the code generator to also generate specialized variants of the functional interface and
modify scalac to emit lambdas as calls to the lambda MetaFactory against them.

```java
@FunctionalInterface
public interface JFunction1$mcII$sp extends JFunction1 {
abstract int apply$mcII$sp(int v1);

default Object apply(Object s) { return (Integer) apply$mcII$sp((Integer) s); }
}
```
- Converters for `java.util.function`, `java.util.stream`
- [`Spliterator`](https://docs.oracle.com/javase/8/docs/api/java/util/Spliterator.html)s for Scala collections