>>> HashSet.map show (HashSet.fromList [1,2,3]) HashSet.fromList ["1","2","3"]
map $ span $ toHtml "foo"
<map><span>foo</span></map>
toList (map f xs) = map f (toList xs)
toNonEmpty (map f xs) = map f (toNonEmpty xs)