You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if keys and keysR returned Seta instead of [a] by using the Data.Map.keysSet function. Set's are often preferable and this conversion would have a smaller constant factor than Set.fromListAsc . toMap. Plus there's always elems for getting the [a] type.
The text was updated successfully, but these errors were encountered:
I would rather have new functions Bimap.keysSet and Bimap.keysSetR so that we can maintain backward compatibility and keep matching the interface of Prelude's Maps
It would be nice if
keys
andkeysR
returnedSet
a
instead of[a]
by using theData.Map.keysSet
function. Set's are often preferable and this conversion would have a smaller constant factor thanSet.fromListAsc . toMap
. Plus there's alwayselems
for getting the[a]
type.The text was updated successfully, but these errors were encountered: