A minor piece of feedback, but have you considered naming this URI.join/2? That would be consistent with similar functions in Python (urlparse.urljoin) and Ruby (URI.join).
On Wed, May 18, 2016 at 12:21 PM, Andrew Timberlake < [email protected]> wrote: > Example: > > iex> URI.merge("http://example.com/foo", "/bar") |> to_string > "http://example.com/bar" > > iex> URI.parse("http://example.com/foo") |> URI.merge("/bar") |> to_string > "http://example.com/bar" > > …and more > > I have written the code based on RFC2396 §5.2 and would like to send > through a pull request. > > Andrew > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elixir-lang-core/C1FD35C2-B4C6-4701-83AC-F0F1FA656E1D%40andrewtimberlake.com > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAPdFhdVX1inBx8TV7Q32rDLYetiydfHXk1isBRWn_GkL2erXhA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
