[erlang-questions] Erlang cons function

Garrett Smith g@REDACTED
Tue Jan 31 16:16:29 CET 2017


Is there a functional reference to the cons operator? Something
equivalent to this:

  fun(H, T) -> [H|T] end

I was hoping for erlang:'|'(H, T) but no dice.



More information about the erlang-questions mailing list