Skip to content

Add Data.Set.mapMaybe

This function is also available for lists (from Data.Maybe) and Maps (Data.Set). The semantics are straightforward:

mapMaybe f = fromList . catMaybes . map f . toList
Trac metadata
Trac field Value
Version 6.8
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information