[erlang-questions] merging gb_trees

Joel Reymont <>
Fri Oct 21 00:43:04 CEST 2011


Suppose I have 2 gb_trees T1 and T2.

I want to merge them such that all the values with equal keys are summed up in the resulting tree.

What is the most elegant way to accomplish this?

	Thanks, Joel

--------------------------------------------------------------------------
- for hire: mac osx device driver ninja, kernel extensions and usb drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------




More information about the erlang-questions mailing list