Great idea Thiago! I would love this option. Especially to avoid this kind of implementation during the app initialization:
fetch! = fn key -> case System.get_env(key) do nil -> raise ArgumentError, "Could not fetch environment #{key} because configuration #{key} was not set" value -> value end end fetch!.("SOME_ENV_HERE") -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/a14e791c-6831-4291-917a-38e94c0150ff%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.