I don't see a subset function in Data.Set. What is the preferred way to define this?

I currently have:

  a `subset` b = isEmptySet (a `minusSet` b)

(Hmmm... does library style prefer `subset`, `subsetOf`, `isSubset`, `isSubsetOf` ?)

#g


------------ Graham Klyne For email: http://www.ninebynine.org/#Contact

_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to