Enrichment on the com.twitter.storehaus.algebra.MergeableStore
trait. Storehaus uses the enrichment pattern instead of adding
these methods directly to the trait because many of the functions
(mapValues, for example) have different meanings for
ReadableStore, Store and MergeableStore.
Enrichment on the com.twitter.storehaus.algebra.MergeableStore trait. Storehaus uses the enrichment pattern instead of adding these methods directly to the trait because many of the functions (mapValues, for example) have different meanings for ReadableStore, Store and MergeableStore.
import MergeableStore.enrich
to get access to these methods.
TODO: in scala 2.10 this should be a value class