[erlang-questions] {some,term} = [] ++ {some, term}.

Brujo Benavides elbrujohalcon@REDACTED
Tue Apr 24 17:15:33 CEST 2018


Hi John,

	See here: https://medium.com/erlang-battleground/the-asymmetry-of-validations-1ccdf2457293 <https://medium.com/erlang-battleground/the-asymmetry-of-validations-1ccdf2457293>

	Hope this helps :)

Brujo Benavides <http://about.me/elbrujohalcon>



> On 24 Apr 2018, at 12:13, John Doe <donpedrothird@REDACTED> wrote:
> 
> Hi,
> is this normal?
> 
> {some,term} = [] ++ {some, term}. %% list vanishes
> 
> [1,2,3|{some,term}] = [1,2,3] ++ {some, term}. %% improper list
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180424/6a2d0a83/attachment.htm>


More information about the erlang-questions mailing list