Skip to content

Clean up “Pure Error Handling” #371

Open
@datenreisender

Description

The section Pure Error Handling got more confusing during the recent update to ES6:

E.g. it says „ I've skipped the ceremony of creating the Either superclass“ while actually in the code that superclass is created.

And before Right and Left were more similar, e.g. both had a function of. Now a Left is created through the little standalone function left, while a Right is created through Either.of. It would be better, to make RIght and Left more similar again, by again giving both a static method of.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions