You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be convenient to use, say, fiber.info() without explicit fiber = require('fiber') in the interactive console. The same for all other built-in Lua modules.
I would not place them all into _G: it would direct users to omit explicit require calls in modules and applications that may look confusing for a reader. I guess we can run a code from the interactive console in a specific scope, which contains all those variables.
The idea was issued by @Mons, when we forgot a require call at writting a code snippet in the console.
The text was updated successfully, but these errors were encountered:
Tarantool version: 2.7.0-74-g71377c28e.
It would be convenient to use, say,
fiber.info()
without explicitfiber = require('fiber')
in the interactive console. The same for all other built-in Lua modules.I would not place them all into
_G
: it would direct users to omit explicit require calls in modules and applications that may look confusing for a reader. I guess we can run a code from the interactive console in a specific scope, which contains all those variables.The idea was issued by @Mons, when we forgot a require call at writting a code snippet in the console.
The text was updated successfully, but these errors were encountered: