haskell / containers

Assorted concrete container types
https://hackage.haskell.org/package/containers
314 stars 177 forks source link

Add `flattenSCC1 :: SCC a -> NonEmpty a` #987

Open andreasabel opened 5 months ago

andreasabel commented 5 months ago

This gives a more precise type to the existing flattenSCC :: SCC a -> [a]. Closes #985.

Bodigrim commented 5 months ago

This probably needs a changelog entry and @since pragma, but I don't know what's the policy here and which version number is supposed to be released next.

andreasabel commented 5 months ago

This probably needs a changelog entry and @since pragma, but I don't know what's the policy here and which version number is supposed to be released next.

I can add that here once the decision has been taken to merge this PR!

treeowl commented 5 months ago

Let's do it.

andreasabel commented 5 months ago

Ok, I added a since for 0.7.1.

I was a bit surprised to see master at 0.6.8 when it already contained the changes for 0.7. According to the changelog, master also contains breaking changes which would require the next master release to be 0.8.