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

2023-05-18 Thread José Valim
Uppercase sigils do not supported interpolation, so that's a no-go. Note you can also get the compile time behaviour today by doing @uri URI.new!("..."). On Thu, May 18, 2023 at 4:25 PM Ben Wilson wrote: > Question: Would this sigil support interpolation? Is that too clever? > >

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

2023-05-18 Thread Ben Wilson
Question: Would this sigil support interpolation? Is that too clever? ~URI"https://#{path}?#{query_params}; - Ben On Thursday, May 18, 2023 at 1:37:37 AM UTC-4 christ...@gmail.com wrote: > I dislike +1 posts, but I feel very strongly about this—it'd be amazing to > have. > > I want booting an