Skip to content

Why does (>>) require () #2

@axman6

Description

@axman6

I was surprised to see the type of (>>) requires () and not an arbitrary type, I'm wondering if this is intentional, and if so, it should probably come with an explanation, because it doesn't match Monad's (>>),

(>>) :: (Applicative m) => m i j () -> m j k a -> m i k a

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