Skip to content

Kleisli: flatMapF and andThen are the same #711

@ceedubs

Description

@ceedubs

Currently Kleisli has two methods flatMapF and andThen that have duplicated type signatures and implementations.

This andThen is an overloaded version that takes a function as opposed to a Kleisli.

I propose keeping flatMapF and removing the andThen that uses Function1 to prevent confusion and avoid overloading. What do people think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions