Explicitly order names in set labels
This commit is contained in:
parent
ed00c85fa7
commit
19f37ab578
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ instance AsLabel [Char] where
|
||||||
|
|
||||||
instance AsLabel a => AsLabel (Set.Set a) where
|
instance AsLabel a => AsLabel (Set.Set a) where
|
||||||
asLabel s =
|
asLabel s =
|
||||||
let sublabels = map asLabel $ Set.toList s
|
let sublabels = map asLabel $ Set.elems s
|
||||||
in "{" ++ intercalate "," sublabels ++ "}"
|
in "{" ++ intercalate "," sublabels ++ "}"
|
||||||
|
|
||||||
{-
|
{-
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue