I\'m changing some Haskell code from using lists to sets. I understand everything required, I think, but I\'m not sure how to pattern match on sets. Lists have this nice lit
import qualified Data.Set as Set foo set | Set.null set = bar | otherwise = baz