Merge r's entries (string-keyed; each key gets interned to a Keyword) into l, returning a new persistent map. Used by Anomaly.mergeCtx implementations.
Convert a Throwable to the appropriate Anomaly subclass, attaching ctx as extra context data. An incoming Anomaly is wrapped in a fresh instance of the same category with the merged context, preserving the original as the cause.