More digging with LFE and Erjang...
When a file object is returned in Java (as appears to be the case with java.io.File.createTempFile), what does Erjang do? I seem to be getting a bitstring data type back:
> (set x (java.io.File:createTempFile '"foo-" '"-bar"))
#B()
> (is_bitstring x)
true
The first line has this equivalent in Erlang:
1> X='java.io.File':createTempFile("foo-", "-bar").
<<>>
I see the temp file being created in the temp directory, with the appropriate prefix and suffix. I can't seem to do anything with the returned data, though (which makes sense, given that it's an empty bitstring). Do you have something in mind for working with files? Or is there something in place already that I should be doing?
Thanks,
d