Skip to content

Operator priority #78

@liyishuai

Description

@liyishuai

<$> is looser than >>=, causing f <$> g >>= h to be f <$> (g >>= h) rather than (f <$> g) >>= h, which is different from Haskell.
I'd propose:

  • Align priority order with Haskell (wherever possible) to avoid such confusion.
  • Document all notations somewhere.

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