dfithian / prune-juice

Prune unused Haskell dependencies.
MIT License
48 stars 4 forks source link

listFilesRecursive should build set as it goes #16

Open treeowl opened 2 years ago

treeowl commented 2 years ago

listFilesRecursive is defined using for and mconcat. Better to use foldM or foldlM, which will allow you to force set insertions as you go.

dfithian commented 2 years ago

Feel free to contribute, but I probably won't do this one.