purescript-deprecated/purescript-sets

Improve toUnfoldable implementation

Opened this issue · 0 comments

Currently we take the M.keys from the inner map, and then use toUnfoldable on that. I guess we'd have to make M.keys unfoldable, or add an unfoldable version of that to bypass the intermediate structure, as we can't read the map internals directly in this module.