New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
concat1 and concatMap1 #53
Comments
Aren't those just |
You're right and same with
concat :: Foldable t => t [a] -> [a]
concatMap :: Foldable f => (a -> [b]) -> (t a -> [b]) so it may be worth adding them still (but obviously not as important) concat1 :: Foldable1 f1 => f1 (NonEmpty a) -> NonEmpty a
concat1 = fold1
concatMap1 :: Foldable1 f1 => (a -> NonEmpty b) -> (f1 a -> NonEmpty b)
concatMap1 = foldMap1 |
|
Like #49 but I don't want to clutter.
I needed
concatMap1
just now. Would people be against addingSimilar functions exist as comments in
Data.Semigroup.Foldable
:The text was updated successfully, but these errors were encountered: