Re: [elixir-core:11388] Proposal: Add ~URI sigil

2023-05-16 Thread Wojtek Mach
I just realised another small benefit of showing the full URL in the sigil. Here’s a snippet from the proposal as rendered by my e-mail client: The URL was automatically made clickable. Tools like Livebook could potentially do the same. > On 16 May 2023, at 10:38, Wojtek Mach wrote: > > Hi,

[elixir-core:11388] Proposal: Add ~URI sigil

2023-05-16 Thread Wojtek Mach
Hi, I'd like to propose adding ~URI for constructing URI structs. Here's an example: iex> ~URI"https://elixir-lang.org"; %URI{ scheme: "https", authority: "elixir-lang.org", userinfo: nil, host: "elixir-lang.org", port: 443, path: nil, query: nil,