--
You received this message because you are subscribed to the Google Groups "Erjang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erjang+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The second error with calling Java functions… is probably some error in the value mapping. Its a bit complex, and if you want to dive into it I can explain more.
But essentially a JavaObject thing can act as more than one kind of erlang term, depending on how you deconstruct it with pattern matching. For Java strings, we keep the string around, wrapped in a synthetic cons cell that will allow you to access head and tail. This is much like how Clojure maps values, but this subsystem is not tested very well. I’d love some help on that.
The second error with calling Java functions… is probably some error in the value mapping. Its a bit complex, and if you want to dive into it I can explain more. But essentially a JavaObject thing can act as more than one kind of erlang term, depending on how you deconstruct it with pattern matching. For Java strings, we keep the string around, wrapped in a synthetic cons cell that will allow you to access head and tail.
This is much like how Clojure maps values, but this subsystem is not tested very well. I’d love some help on that.