Lua で which を実装