Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Call java SAM and FI as regular functions #493

Open
yloiseau opened this issue Jul 10, 2017 · 0 comments
Open

Call java SAM and FI as regular functions #493

yloiseau opened this issue Jul 10, 2017 · 0 comments

Comments

@yloiseau
Copy link
Contributor

It would be nice to be able to call java functions (Single Abstract Method instances and FunctionalInterface instances) with the golo syntax; for instance:

let comp = java.util.Comparator.reverseOrder()
comp("foo", "bar") # instead of comp: compare("foo", "bar")
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant