binaryjoin([<<"a">>, <<"b">>, <<"1">>], <<".">>). % => <<"a.b.1">> binaryjoin([<<"a">>, 1, <<"b">>], <<".">>). % => ** exception error: bad argument binary_join([<<"a">>, <<"b">>, 1], <<".">>). % => <<"a.b">> !!!
alternative https://coderwall.com/p/746dgg
binaryjoin([<<"a">>, <<"b">>, <<"1">>], <<".">>). % => <<"a.b.1">>
binaryjoin([<<"a">>, 1, <<"b">>], <<".">>). % => ** exception error: bad argument
binary_join([<<"a">>, <<"b">>, 1], <<".">>). % => <<"a.b">> !!!