by voxfrege · 11y ago · 0 comments
Not quite true anymore. TO be sure, some (inline) java will still be needed.
Here is an example https://github.com/Frege/frege/blob/master/tests/comp/Issue2... which compiles to a class that implements java.util.Comparator. Instances thereof can be created from Frege by passing a custom comparision function and could be passed to Java.
The example would be useful in cases when you have Frege data in a Java collection and want to sort them. But it is merely there to show the possibilities.
No comments yet.