Path.expand("some_file.ex", __DIR__)
Path.join(__DIR__, "some_file.ex")
I don't believe we should introduce Path.relative_to_current_file because it would have to be a macro in order to retrieve the current file and __DIR__ is readable enough.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/c4b963b4-5c08-4b42-9fac-f7268c1d976c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.