v0.1.0-RC
Pre-release
Pre-release
The main focus of this release was the support for Java syntax:
chi> <A, B> B apply(A a, Function<A, B> f)
Detected language: Java
Generated code:
<A, B> B apply(A a, Function<A, B> f) {
return f.apply(a);
}
chi> <A, B, C> Function<A, C> compose(Function<B, C> f, Function<A, B> g)
Detected language: Java
Generated code:
<A, B, C> Function<A, C> compose(Function<B, C> f, Function<A, B> g) {
return a -> f.apply(g.apply(a));
}
chi> <A, B, C> BiFunction<A, B, C> foo(Function<A, C> f)
Detected language: Java
Generated code:
<A, B, C> BiFunction<A, B, C> foo(Function<A, C> f) {
return (a, b) -> {
f.apply(a)
};
}
What's Changed
- Better readme by @melvic-ybanez in #24
- Syntax support for Java by @melvic-ybanez in #28
- Update readme by @melvic-ybanez in #29
Full Changelog: v0.1.0-beta...v0.1.0-rc
Edit: The last Java example isn't working in this release (I realized this too late). However, in the latest code the issue has been fixed.