purescript-deprecated/purescript-sets

Add toUnfoldable

Closed this issue · 1 comments

I think it might be nice to replace toList, fromList with:

* fromSet :: forall f a. (Unfoldable f) => Set a -> f a
* toSet :: forall f a. (Foldable f) => f a -> Set a

(I think these are possible).