plus

Helper operator function for combining covariance logic.

Returns a composed function that results in the union of the two outputs.

For example, to match only the unnamed key of the input, and the named supertypes:

Supertypes + Unnamed

Report a problem


Combines two DependencyMaps into one.

Where keys are common, precedence is given to the right-hand argument.

Report a problem

Return

A new DependencyMap instance that contains the keys of both.

Parameters

right

The DependencyMap to merge with.