> Thats really nice. It would be nice if the pretty printer could try calling
> __tostring' on stuff it doesnt understand (c types) in the hope of getting
> a printable version.
It already does that, doesn't it? Try this for example:
> f = io.open ("/usr/bin/lua")
> f
file (0xc229f0)
> f:close()
true
It doesn't call __tostring metamethods for tables though. Perhaps
that would be convenient too.
I think my data doesn't have in it what I think! Will look further and report back. Would rather tables did not do __tostring I think on balance.
Justin