Skip to content

Introducing .flatMapN(f) as a shorthand for .mapN(f).flatten #4003

Description

@domaspoliakas

Hello 👋 this follows from my question on discord and is basically the title.

I find myself doing .mapN(f).flatten very frequently and I think it'd be nice to have a .flatMapN for this scenario.

I am told this was rejected in the past, but I could not find a past issue for this and so I was hoping I could reopen a discussion.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions