Tuple is Hash
What hash is to ruby, tuple is to erlang
rcolors = {{:color=>"white", :hexcode=>"ffffff"},
{:color=>"black", :hexcode=>"000000"}}
ecolors = {colors,
{white, ffffff},
{black, 000000}}.
List is Array
What array is to ruby, list is to erlangrmix = %w(apple orange banana)
emix = [1+7,hello,2-2,{cost, apple, 30-20},3].

