[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [Proposal] require(module,with,args)
- From: "Thiago L." <fakedme@...>
- Date: Tue, 10 Jun 2014 19:41:58 -0300
My proposal is basically to change require to call the module with args.
Let's say your module looks like this:
print(...)
The current require() does this:
> require("mymod","with","args")
mymod
My proposal is to make it do this:
> require("mymod","with","args")
mymod with args
(PS: Obviously when using require with args it should reload the module
instead of using the loaded one)