[erlang-questions] list:join() for erlang?

igwan igwan@REDACTED
Wed Sep 12 18:18:36 CEST 2007


It does exist :

erlang:'++'/2

and the corresponding syntactic sugar :

1> [a,b,c] ++ [d,e,f].
[a,b,c,d,e,f]


-igwan

Peter K Chan a écrit :
> I looked around and I couldn't find a list:join() implementation for
> erlang. Is this intentional? The join function seems to be a useful
> feature to have.
>
> I ended up writing my own version, which was simple enough; but it would
> be even better if it is available as a BIF.
>
> Peter
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>   




More information about the erlang-questions mailing list