alias is lexically scoped
Aliases are lexically scoped, allowing you to alias a module inside of a function and that alias will only exist in that function's scope. Also TIL: You can even alias over Elixir standard lib module names.
TweetAliases are lexically scoped, allowing you to alias a module inside of a function and that alias will only exist in that function's scope. Also TIL: You can even alias over Elixir standard lib module names.
Tweet