diagrams/diagrams-core — pull request #26 by byorgey (2012-09-16 19:30:58+00:00)
Title: Rename `names` to `subMap`, and add new function `names`

`names` is now a poor name for something which returns a mapping from names to subdiagrams. Also, the old version of `names` used to have a result with a `Show` instance, but a `SubMap` really can't have one. This patch renames `names` to `subMap`, and creates a new function `names` which returns a list of names paired with their associated locations (which can be `Show`n).