Re:Idris 2 0.6.0 is now available for the JVM
by mmhelloworld on Monday February 27, 2023 @08:25PM
(#34964534)
This file https://github.com/mmhelloworld/idris-jvm/blob/main/libs/bas... demonstrates how the interop looks like currently. The `%foreign` directive takes an FFI descriptor to talk to the respective backends. Here you can see few scheme and JVM descriptors starting with "scheme:" and "jvm:" respectively. The JVM descriptors there show constructor calls `<init>`, instance methods `.lock` and static methods `getThreadData`.
[ Parent
| on HN ]
There are no comments on this comment yet.