The below code used to work to lazy load a module, but now is deprecated, with the warning saying to use `using` or `import`. But `using` doesn't work inside a function. What should be done?
```julia function foo2() require("StatsBase") end ```
The below code used to work to lazy load a module, but now is deprecated, with the warning saying to use `using` or `import`. But `using` doesn't work inside a function. What should be done?
```julia function foo2() require("StatsBase") end ```