How do you create a histogram sum of two dicts in erlang? Example if you have 2 dicts:
{a: 1, c: 4, d:7} and {a:5, b:8, d:1}
The sum would be:
{a:6, b:8, c:4, d:8}
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assume your dicts are bound to
AandBvariables respectevily, then: