Closed Sed9yDataBank closed 2 years ago
👋🏼
I want to understand the reason of constructing an improper list here.
First Question: Is the usage of an improper list necessary here?:
https://github.com/elixir-plug/plug/blob/274e44f9a149b922099bf60029d8267afe494968/lib/plug/conn/query.ex#L256
# encoder fallback defp encode_pair(field, value, encoder) do [field, ?= | encode_value(value, encoder)] end
I think improper lists do not have many uses; also there are many functions that will error when given an improper list
Second Question: why this construct actually exists in Erlang?
Hi, Can you Please use the ElixirForum for questions/help/feedback, where a wider community will be able to jump in? Thank you!
sure! sorry for budging in like that and thanks
👋🏼
I want to understand the reason of constructing an improper list here.
First Question: Is the usage of an improper list necessary here?:
https://github.com/elixir-plug/plug/blob/274e44f9a149b922099bf60029d8267afe494968/lib/plug/conn/query.ex#L256
I think improper lists do not have many uses; also there are many functions that will error when given an improper list
Second Question: why this construct actually exists in Erlang?